jnunemaker/toystore — pull request #4 by jnunemaker (2012-04-18 20:51:10+00:00)
Title: Support for Inheritance

Added initial support for inheritance. Copies over attributes, lists, references, adapter and key factory. Also adds a type attribute and correctly instantiates based on the type attribute.

I hate using type because nil.type gives you a warning instead of a no method error.

Tempted to call it constant or _type (like MM).