Class: AdequateSerialization::Attribute::Config
- Inherits:
-
Object
- Object
- AdequateSerialization::Attribute::Config
- Defined in:
- lib/adequate_serialization/attribute.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
readonly
Returns the value of attribute attribute.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(attribute, options) ⇒ Config
constructor
A new instance of Config.
- #to_attribute ⇒ Object
Constructor Details
#initialize(attribute, options) ⇒ Config
Returns a new instance of Config.
100 101 102 103 |
# File 'lib/adequate_serialization/attribute.rb', line 100 def initialize(attribute, ) @attribute = attribute @options = end |
Instance Attribute Details
#attribute ⇒ Object (readonly)
Returns the value of attribute attribute.
98 99 100 |
# File 'lib/adequate_serialization/attribute.rb', line 98 def attribute @attribute end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
98 99 100 |
# File 'lib/adequate_serialization/attribute.rb', line 98 def @options end |