Class: SPQR::StatisticMeta

Inherits:
Struct
  • Object
show all
Defined in:
lib/spqr/manageable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.options = (({} unless self.options) or self.options.dup)
end

Instance Attribute Details

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



129
130
131
# File 'lib/spqr/manageable.rb', line 129

def kind
  @kind
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



129
130
131
# File 'lib/spqr/manageable.rb', line 129

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



129
130
131
# File 'lib/spqr/manageable.rb', line 129

def options
  @options
end