From: Martin DeMello Date: 2002-12-31T23:42:59+09:00 Subject: Re: attr_ type thingies ts wrote: >>>>>> "M" == Martin DeMello writes: > > M> class Module > M> # synchronised readers > M> def sync_reader(mutexname, *args) > M> args.each {|var| > M> module_eval <<-here > M> def #{var.to_s} > > instance method Thanks - took me a good bit of thinking, but I think I've finally understood what module_eval does. martin