Class: SPQR::PropertyMeta
- Inherits:
-
Struct
- Object
- Struct
- SPQR::PropertyMeta
- Defined in:
- lib/spqr/manageable.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ Object
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(*a) ⇒ PropertyMeta
constructor
A new instance of PropertyMeta.
Constructor Details
#initialize(*a) ⇒ PropertyMeta
Returns a new instance of PropertyMeta.
123 124 125 126 |
# File 'lib/spqr/manageable.rb', line 123 def initialize(*a) super *a self. = (({} unless self.) or self..dup) end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
122 123 124 |
# File 'lib/spqr/manageable.rb', line 122 def kind @kind end |
#name ⇒ Object
Returns the value of attribute name
122 123 124 |
# File 'lib/spqr/manageable.rb', line 122 def name @name end |
#options ⇒ Object
Returns the value of attribute options
122 123 124 |
# File 'lib/spqr/manageable.rb', line 122 def @options end |