It's called a constructor in other languages. it can be used to initialize
the objects state. The arguments can give variance to the objects properties
which can alter it's behavior from the other instances initialized off the
same class template.

https://secure.wikimedia.org/wikipedia/en/wiki/Constructor_%28object-oriented_programming%29

~

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/.
>
>