Class: Rumba::Sensor::Boolean

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

Class Method Summary collapse

Class Method Details

.convert(v) ⇒ Object



6
7
8
# File 'lib/rumba/sensors.rb', line 6

def self.convert(v)
  v == 1
end