Class: Hallmonitor::GaugeEvent
- Defined in:
- lib/hallmonitor/gauge_event.rb
Instance Attribute Summary
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(name, value) ⇒ GaugeEvent
constructor
A new instance of GaugeEvent.
- #value ⇒ Object
- #value=(new_value) ⇒ Object
Methods inherited from Event
Methods included from Monitored
Constructor Details
#initialize(name, value) ⇒ GaugeEvent
Returns a new instance of GaugeEvent.
3 4 5 |
# File 'lib/hallmonitor/gauge_event.rb', line 3 def initialize(name, value) super(name, value) end |
Instance Method Details
#value ⇒ Object
7 8 9 |
# File 'lib/hallmonitor/gauge_event.rb', line 7 def value count end |
#value=(new_value) ⇒ Object
11 12 13 |
# File 'lib/hallmonitor/gauge_event.rb', line 11 def value=(new_value) count = new_value end |