From: AzimuthDragon Date: 2008-06-09T03:33:05+09:00 Subject: Re: my first program just shuttin' down For one thing, a proper Ruby script ends and terminates itself at the end of the file if there were no errors. Use IRB instead to play with Ruby, or use the command prompt and ruby helloworld.rb. ;) You can also create a Windows command script if you wanted. -------------------------------------------------- From: "Ruby Noob" Sent: Sunday, June 08, 2008 11:14 AM Newsgroups: comp.lang.ruby To: "ruby-talk ML" Subject: my first program just shuttin' down > Why? I tryin' to open the "hello.rb" program, but it just shuttin' down > why? > The hello.rb file, look's like this... > > #!/usr/bin/ruby > print "Hello World" > > and by the way... is methods like functions and object's in PHP? Could > some nice guy tell me the basic of methods, why it's important in Ruby > programmin' and so on. > -- > Posted via http://www.ruby-forum.com/. > >