Class: Huebot::Program::AST::Transition

Inherits:
Struct
  • Object
show all
Defined in:
lib/huebot/program.rb

Instance Attribute Summary collapse

Instance Attribute Details

#devicesObject

Returns the value of attribute devices

Returns:

  • (Object)

    the current value of devices



19
20
21
# File 'lib/huebot/program.rb', line 19

def devices
  @devices
end

#sleepObject

Returns the value of attribute sleep

Returns:

  • (Object)

    the current value of sleep



19
20
21
# File 'lib/huebot/program.rb', line 19

def sleep
  @sleep
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



19
20
21
# File 'lib/huebot/program.rb', line 19

def state
  @state
end