virtus
https://github.com/solnic/virtus
Ruby
Attributes on Steroids for Plain Old Ruby Objects
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
3 Subscribers
Add a CodeTriage badge to virtus
Help out
- Issues
- Virtus::Lite
- Get own value in "default" method
- Add failing specs for #284 (custom coercion with arrays)
- Custom coercers don't respect `strict` setting
- Allow a default value when the attribute is assigned as nil, with the :allow_nil option
- Recursively call attributes
- Distinguishing between nil and undefined attributes
- custom coercion with arrays
- AttributeSet#select should return another AttributeSet
- attributes hash messed up on extending a Model instance with a Virtus.module?
- Docs