crnixon/diametric — pull request #2 by rkneufeld (2012-11-02 12:34:47+00:00)
Title: Add :default key as a valid .attribute options

- Defaults are stored in class-level defaults hash and merged against provided values upon initialization
- Updated docs and specs to suit

Let me know what you think. I haven't done any checking of type, though that is probably not necessary. Tests for `:cardinality => :many` forthcoming before you accept this pull request ;).