Class: Multimeter::Counter
- Inherits:
-
Object
- Object
- Multimeter::Counter
- Defined in:
- lib/multimeter.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
36 37 38 39 40 41 |
# File 'lib/multimeter.rb', line 36 def to_h { :type => :counter, :count => count } end |