Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now Document.new and #update_slots are able to accept 'method-based' …
…slots, like: User = Meta.new do def email=(v) # ... end end User.new(:email => "yrashk@idbns.com") or user.update_slots(:email => "yrashk@idbns.com") will pass control to User#email= instead of saving it directly to the slot.
- Loading branch information
Yurii Rashkovskii
committed
May 4, 2008
1 parent
3212890
commit 1ef800a
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters