Class: Ynl::Models::AttributeSet::Attribute
- Inherits:
-
Struct
- Object
- Struct
- Ynl::Models::AttributeSet::Attribute
- Defined in:
- lib/ynl/models.rb
Instance Attribute Summary collapse
-
#checks ⇒ Object
Returns the value of attribute checks.
-
#doc ⇒ Object
Returns the value of attribute doc.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#checks ⇒ Object
Returns the value of attribute checks
102 103 104 |
# File 'lib/ynl/models.rb', line 102 def checks @checks end |
#doc ⇒ Object
Returns the value of attribute doc
102 103 104 |
# File 'lib/ynl/models.rb', line 102 def doc @doc end |
#name ⇒ Object
Returns the value of attribute name
102 103 104 |
# File 'lib/ynl/models.rb', line 102 def name @name end |
#type ⇒ Object
Returns the value of attribute type
102 103 104 |
# File 'lib/ynl/models.rb', line 102 def type @type end |
#value ⇒ Object
Returns the value of attribute value
102 103 104 |
# File 'lib/ynl/models.rb', line 102 def value @value end |
Instance Method Details
#resolve(f) ⇒ Object
103 104 105 106 |
# File 'lib/ynl/models.rb', line 103 def resolve(f) self.type = type.resolve(f) self end |