From: Avdi Grimm Date: 2008-06-13T01:17:55+09:00 Subject: Re: Instance variables On Thu, Jun 12, 2008 at 12:06 PM, Justin To wrote: > # ??? HERE: Does it matter if I do @child_node = children (without the @ > for children)? What's the difference with using the @ and not? Since you haven't defined an attr_reader for @children, you have to use the instance variable (@). -- Avdi Home: http://avdi.org Developer Blog: http://avdi.org/devblog/ Twitter: http://twitter.com/avdi Journal: http://avdi.livejournal.com