Class: Huebot::Program::AST::SerialControl

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

Instance Attribute Summary collapse

Instance Attribute Details

#loopObject

Returns the value of attribute loop

Returns:

  • (Object)

    the current value of loop



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

def loop
  @loop
end

#sleepObject

Returns the value of attribute sleep

Returns:

  • (Object)

    the current value of sleep



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

def sleep
  @sleep
end