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.
113 114 115 116 |
# File 'lib/spqr/manageable.rb', line 113 def initialize(*a) super *a self. = (({} unless self.) or self..dup) end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
112 113 114 |
# File 'lib/spqr/manageable.rb', line 112 def kind @kind end |
#name ⇒ Object
Returns the value of attribute name
112 113 114 |
# File 'lib/spqr/manageable.rb', line 112 def name @name end |
#options ⇒ Object
Returns the value of attribute options
112 113 114 |
# File 'lib/spqr/manageable.rb', line 112 def end |