Class: SPQR::StatisticMeta
- Inherits:
-
Struct
- Object
- Struct
- SPQR::StatisticMeta
- 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) ⇒ StatisticMeta
constructor
A new instance of StatisticMeta.
Constructor Details
#initialize(*a) ⇒ StatisticMeta
Returns a new instance of StatisticMeta.
130 131 132 133 |
# File 'lib/spqr/manageable.rb', line 130 def initialize(*a) super *a self. = (({} unless self.) or self..dup) end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
129 130 131 |
# File 'lib/spqr/manageable.rb', line 129 def kind @kind end |
#name ⇒ Object
Returns the value of attribute name
129 130 131 |
# File 'lib/spqr/manageable.rb', line 129 def name @name end |
#options ⇒ Object
Returns the value of attribute options
129 130 131 |
# File 'lib/spqr/manageable.rb', line 129 def @options end |