From: Joel VanderWerf Date: 2005-06-23T05:05:22+09:00 Subject: Re: [ANN] traits-0.3.0 Ara.T.Howard wrote: ... > <========< sample/c.rb >========> ... > class C > class << self > has('classname'){|this| this.name.upcase } > end > > has('classname'){|this| this.class.name.downcase } > end Hi, Ara, Just curious, why wouldn't #instance_eval give you the desided behavior? In that case, you could just use 'self' instead of 'this'.