From: Lloyd Zusman Date: 2005-11-16T19:32:40+09:00 Subject: Re: Nested classes Groleo Marius writes: > [ ... ] > > Now , back to the code ,the attr_reader was the magic word from what > Pit posted . > Maybe you too observed, but why in ruby > this attr_reader : b is different from attr_reader :b > ^space ^no space Because colon-identifier represents a symbol, and attr_reader takes symbols as arguments. The colon is not a separator. For example:] attr_reader :a, :b, :c Each of :a, :b, and :c are symbols. -- Lloyd Zusman ljz@asfast.com God bless you.