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.