From: Martin DeMello Date: 2002-12-31T23:02:51+09:00 Subject: attr_ type thingies Still not 100% clear about the whole metaclass concept. In the following code: class Module # synchronised readers def sync_reader(mutexname, *args) args.each {|var| module_eval <<-here def #{var.to_s} #{mutexname}.synchronize {@#{var.to_s}} end here } end end should it be module_eval or instance_eval, and why? martin :