From: Robert Klemme Date: 2010-11-04T17:28:58+09:00 Subject: Re: the dark side of inherited methods On Wed, Nov 3, 2010 at 9:58 PM, Joel VanderWerf wrote: > On 11/03/2010 01:22 AM, Robert Klemme wrote: >> >> ... as is wasting a class because one wants to spare the typing IMHO. :-) > > My suggestion is not just for reducing typing: the super construct gives you > a clean, idiomatic way to wrap the methods provided by Struct. That's true. It's just that it feels itchy to me to use a class this way. > Anyway, it's not as if Class.new were depleting the ozone layer or something > :) Hmm... What about global warming? ;-) Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/