[ 原始碼: ruby-virtus ]
套件:ruby-virtus(2.0.0-2)
attributes on steroids for plain old Ruby objects
The goal of this Ruby library is to provide a common API for defining attributes on a model so all object relational and object document mappers could use it instead of reinventing the wheel all over again.
It is also suitable for any other use case where Ruby objects need to be extended with attributes that require data coercions.
This is a partial extraction of the DataMapper property API.
其他與 ruby-virtus 有關的套件
|
|
|
|
-
- dep: ruby-axiom-types (>= 0.1)
- Ruby module for abstract types for logic programming
-
- dep: ruby-coercible (>= 1.0)
- powerful, flexible and configurable coercion library
-
- dep: ruby-descendants-tracker (>= 0.0.3)
- Ruby module that adds descendant tracking to a class
-
- dep: ruby-dry-inflector
- Inflector for Ruby
-
- dep: ruby-equalizer
- Ruby module to define equality, equivalence and inspection methods