Re: What do you do when you need to attach data to an object instance?



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?

--
Posted via http://www.ruby-forum.com/.

.