class Rumba::Sensor::Boolean
Public Class Methods
convert(v)
click to toggle source
# File lib/rumba/sensors.rb, line 6 def self.convert(v) v == 1 end
# File lib/rumba/sensors.rb, line 6 def self.convert(v) v == 1 end