Class: Eeml::Value
Instance Attribute Summary collapse
-
#max_value ⇒ Object
Returns the value of attribute max_value.
-
#min_value ⇒ Object
Returns the value of attribute min_value.
-
#recorded_at ⇒ Object
Returns the value of attribute recorded_at.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Value
constructor
A new instance of Value.
Constructor Details
#initialize(options = {}) ⇒ Value
Returns a new instance of Value.
89 90 91 92 93 94 |
# File 'lib/eeml/environment.rb', line 89 def initialize( = {}) @min_value = [:min_value] @max_value = [:max_value] @value = [:value] @recorded_at = [:recorded_at] end |
Instance Attribute Details
#max_value ⇒ Object
Returns the value of attribute max_value.
87 88 89 |
# File 'lib/eeml/environment.rb', line 87 def max_value @max_value end |
#min_value ⇒ Object
Returns the value of attribute min_value.
87 88 89 |
# File 'lib/eeml/environment.rb', line 87 def min_value @min_value end |
#recorded_at ⇒ Object
Returns the value of attribute recorded_at.
87 88 89 |
# File 'lib/eeml/environment.rb', line 87 def recorded_at @recorded_at end |
#value ⇒ Object
Returns the value of attribute value.
87 88 89 |
# File 'lib/eeml/environment.rb', line 87 def value @value end |