From: Robert Klemme Date: 2011-04-16T04:07:01+09:00 Subject: Re: What do you do when you need to attach data to an object instance? On 15.04.2011 20:40, 7stud -- wrote: > Robert K. wrote in post #992956: > > Robert K., > > Any ideas why attr_accessor() creates public methods when placed > directly in a module, but if you send() :attr_accessor to a module, it > creats private methods? No. I wasn't even aware of the fact. :-) Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/