From: Axel Etzold Date: 2008-06-09T04:41:45+09:00 Subject: Re: my first program just shuttin' down -------- Original-Nachricht -------- > Datum: Mon, 9 Jun 2008 04:11:25 +0900 > Von: David Masover > An: ruby-talk@ruby-lang.org > Betreff: Re: my first program just shuttin\' down > On Sunday 08 June 2008 13:38:01 Ruby Noob wrote: > > Cool, thanks a lot for the information, both of you. But if we sailing > > over to the next question "What is method?" > > A method is a function/subroutine which is associated with an object. In > Ruby, > there are no functions/subroutines which are not methods. > > For more than you probably ever wanted to know: > > http://en.wikipedia.org/wiki/Method_(computer_science) > > Otherwise, you probably want to start at the beginning -- pick up a Ruby > book > (or tutorial, etc) which is targeted at non-programmers. If you don't know > what a method is, you're going to have to learn object-oriented > programming > as you learn Ruby. Hi --- if you want a nice online introduction into Ruby, I'd suggest Chris Pine's Learn to Program (http://pine.fm/LearnToProgram/). It teaches you Ruby from no pre-knowledge to using classes for a small dragon in a game. With respect to the shutting down part of your question: are you on Windows ? It might be that your program runs nicely and quits without errors, but that the window it runs in gets closed, as Windows routinely behaves like that. You can try out irb in the one-click installer for Windows instead. Or you use scite (I think it#s included with the one-click installer) or some other editor where you can run scripts in. Then you'll see the result in a special window. Best regards, Axel -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser