--0016e644ccd6d548a0049c5bf4e4 Content-Type: text/plain; charset=ISO-8859-1 the initialize method is your constructor it is called when you create a new object automatically. It doesn't have to take a parameter at all. If it does then you can set that to an instance variable to use in that class. If you didn't understand much of that you might want to pick up a book on object oriented programming it explains in much more detail. --- Buddy Lindsey http://www.buddylindsey.com http://www.twitter.com/buddylindsey On Tue, Feb 15, 2011 at 6:26 PM, Gaba Luschi <friedoysterlover / gmail.com>wrote: > Why do you need initialize and what do you put in the parameter after > initialize(parameter) > ? > > -- > Posted via http://www.ruby-forum.com/. > > --0016e644ccd6d548a0049c5bf4e4--