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