Re: Sigils in Classes after initial "has"

2009-02-23 Thread Moritz Lenz
Hi, Peter Schwenn wrote: > If a class attribute declaration has a . or ! twigil, e.g. has @!items, do > all the ensuing references to @items in the class's methods have to include > the twigil or can the variable be written thereafter simply @items without > the twigil? If you declare a private a

Sigils in Classes after initial "has"

2009-02-22 Thread Peter Schwenn
If a class attribute declaration has a . or ! twigil, e.g. has @!items, do all the ensuing references to @items in the class's methods have to include the twigil or can the variable be written thereafter simply @items without the twigil? Thank you, Peter Schwenn