On 18.03.2009, at 8:26, Tze Yang Ng wrote:

> Saw the gist u have posted ... very cool use of "class Xyz < Module".

Delays Module body evaluation so one can use validations, has/ 
belongs_to and
other class methods in it without having two inner modules.

> Took me quite sometime to figure out what it actually does.


Probably not so cool then ;)

MK


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to