Class: Metricky::RangeThing

Inherits:
Object show all
Defined in:
lib/metricky/range_thing.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#labelObject (readonly)

Returns the value of attribute label.



3
4
5
# File 'lib/metricky/range_thing.rb', line 3

def label
  @label
end

#priorityObject (readonly)

Returns the value of attribute priority.



3
4
5
# File 'lib/metricky/range_thing.rb', line 3

def priority
  @priority
end

#valueObject (readonly)

Returns the value of attribute value.



3
4
5
# File 'lib/metricky/range_thing.rb', line 3

def value
  @value
end