From: James French Date: 2009-10-03T00:26:52+09:00 Subject: Re: operating on a selection of objects Yes, that's working very nicely. Cheers! I wouldn't have found that on my own. James > -----Original Message----- > From: Yossef Mendelssohn [mailto:ymendel@pobox.com] > Sent: 02 October 2009 16:11 > To: ruby-talk ML > Subject: Re: operating on a selection of objects > > On Oct 2, 9:54 am, James French > wrote: > > I was wondering if there might be a more elegant way of doing this, > without having to explicitly duplicate all of Config's attributes in > ConfigSelection? > > Take a look at method_missing. > > http://ruby-doc.org/core/classes/Kernel.html#M005925 > > -- > -yossef