[Nitro] help with og!
zimba.tm at gmail.com
Fri Nov 25 03:57:45 EST 2005
doesn't this break the idea that the classes are implementation independent ?
Is it possible to tell Og to enchant all classes of a module ?
On 25/11/05, George Moschovitis <george.moschovitis at gmail.com> wrote:
> > Og relies on the property method to "enchant" a class and store it. I
> > guess there is another more elegant way to do it, but I don't know it.
> > I help this will be a help for you to start.
> a more elegant way:
> class MyClass < Og::Entity
> class MyClass
> include Og::EntityMixin
> if you have at least one property, there is nothing to add...
> Nitro-general mailing list
> Nitro-general at rubyforge.org
More information about the Nitro-general