On Wed, 3 May 2006, Joshua Haberman wrote: > So you know how classes are always open? What about anonymous classes? > > I try: > > x = Class.new > > class x > def foo > end > end try class << x def foo() 42 end end or x = Class.new{ def foo() 42 end } regards. -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama