[Nitro] injecting Og functionality

George Moschovitis george.moschovitis at gmail.com
Fri Apr 6 06:36:44 EDT 2007


>
> class MyModel
>    is Og::Model
>
>    attr_accessor :foo, Bar
> end
>

yeap, Og tries to automagically include the Og::Model mixin where
appropriate. All further 'enchanting' is done by including more
modules (mixins).

-g.


-- 
http://georgeandstella.com
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org


More information about the Nitro-general mailing list