[Nitro] help with og!

George Moschovitis george.moschovitis at gmail.com
Fri Nov 25 04:01:29 EST 2005


> doesn't this break the idea that the classes are implementation independent ?

yeah, that's why I dont use it ;-)

> Is it possible to tell Og to enchant all classes of a module ?

Everything is possible with Ruby.

module MyMarker
  def included(base)
    base.module_eval do
       base.send :include, ....
       ...
    end
  end
end

--
http://www.gmosx.com
http://www.navel.gr
http://www.nitrohq.com




More information about the Nitro-general mailing list