From: Russell Fulton Date: 2006-07-09T09:04:18+09:00 Subject: Re: accessors and anonymous classes Russell Fulton wrote: > > Now to the problem: As you see I have defined a bunch of accessor > methods using attr_reader and attr_writer, but these don't work ( I get > an undefined method error ). Adding the accessor methods explicitly > works fine. Odd! > Hmmmm... I have now done what I should have done before posting this -- written a little test program that illustrates the problem. Of course it works as expected so something more complex is going on. I'll go back and double check everything yet again. If I can reporduce the 'problem' in a small program I'll post again. If anyone feels like looking at the full program email me -- address in original post. Russell -- Posted via http://www.ruby-forum.com/.