Class: Metricky::RangeThing
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#priority ⇒ Object
readonly
Returns the value of attribute priority.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(label, priority, value) ⇒ RangeThing
constructor
A new instance of RangeThing.
Constructor Details
#initialize(label, priority, value) ⇒ RangeThing
Returns a new instance of RangeThing.
4 5 6 7 8 |
# File 'lib/metricky/range_thing.rb', line 4 def initialize(label, priority, value) @label = label @priority = priority @value = value end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
3 4 5 |
# File 'lib/metricky/range_thing.rb', line 3 def label @label end |
#priority ⇒ Object (readonly)
Returns the value of attribute priority.
3 4 5 |
# File 'lib/metricky/range_thing.rb', line 3 def priority @priority end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
3 4 5 |
# File 'lib/metricky/range_thing.rb', line 3 def value @value end |