Re: What do you do when you need to attach data to an object instance?
- From: 7stud -- <bbxx789_05ss@xxxxxxxxx>
- Date: Fri, 15 Apr 2011 13:40:33 -0500
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/.
.
- Follow-Ups:
- Re: What do you do when you need to attach data to an object instance?
- From: Robert Klemme
- Re: What do you do when you need to attach data to an object instance?
- References:
- What do you do when you need to attach data to an object instance?
- From: Aaron D. Gifford
- Re: What do you do when you need to attach data to an object instance?
- From: Kevin Mahler
- Re: What do you do when you need to attach data to an object instance?
- From: Aaron D. Gifford
- Re: What do you do when you need to attach data to an object instance?
- From: Aaron D. Gifford
- Re: What do you do when you need to attach data to an object instance?
- From: Kevin Mahler
- Re: What do you do when you need to attach data to an object instance?
- From: Aaron D. Gifford
- Re: What do you do when you need to attach data to an object instance?
- From: Robert Klemme
- What do you do when you need to attach data to an object instance?
- Prev by Date: Re: Extract a range i.e. svr[100..130] ?
- Next by Date: Re: Ruby for beginners (was: Re: Hello)
- Previous by thread: Re: What do you do when you need to attach data to an object instance?
- Next by thread: Re: What do you do when you need to attach data to an object instance?
- Index(es):