From: Paul Brannan Date: 2002-09-20T06:26:01+09:00 Subject: Re: Is better to subclass or to add methods to an existing class? On Fri, Sep 20, 2002 at 05:41:58AM +0900, Christoph wrote: > Beast = self > (@temptation = Class.new String).class_eval <<-Body > Beast = self > def six_six_six; Beast end > Body What's wrong with: Beast = self (@temptation = Class.new String).class_eval do Beast = self def six_six_six; Beast end end Paul