class Rumba::Sensor::OIMode
Public Class Methods
convert(v)
click to toggle source
# File lib/rumba/sensors.rb, line 31 def self.convert(v) case v when 0 :off when 1 :passive when 2 :safe when 3 :full end end