Class: Multimeter::Gauge

Inherits:
Object
  • Object
show all
Defined in:
lib/multimeter.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



86
87
88
89
90
91
# File 'lib/multimeter.rb', line 86

def to_h
  {
    :type => :gauge,
    :value => value,
  }
end