From: David Masover Date: 2009-06-30T14:50:07+09:00 Subject: Re: attr_writers within blocks On Monday 29 June 2009 02:21:49 pm Bertram Scharpf wrote: > Maybe you prefer the self.-construction. I surely don't. Well, on that note... After using metaid, I hate the class << self construction. module M meta_eval do def x= val ... end end ... end For what it's worth, attr_accessor does work inside meta_eval.