From: Stu Date: 2011-02-16T10:09:47+09:00 Subject: Re: What is the purpose of "initialize" --20cf30549ab1543387049c5bef96 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Why do you need initialize and what do you put in the parameter after > initialize(parameter) > ? > > -- > Posted via http://www.ruby-forum.com/. > > --20cf30549ab1543387049c5bef96--