Ravn::Bluez::State:: Initial class Superclass Ravn::Bluez::State Pushdown state machine entry point. Public Instance Methods update( * ) Callback for when we’re the current state. Move immediately into seeking or waiting for connection. # File lib/ravn/bluez/state/initial.rb, line 18 def update( * ) if self.device.is_paired? return :is_paired else if self.device.class.bluetooth_address return :needs_direct_pairing else return :needs_pairing end end end