Class: Huebot::Program::AST::CountedLoop

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

Instance Attribute Summary collapse

Instance Attribute Details

#nObject

Returns the value of attribute n

Returns:

  • (Object)

    the current value of n



24
25
26
# File 'lib/huebot/program.rb', line 24

def n
  @n
end

#pauseObject

Returns the value of attribute pause

Returns:

  • (Object)

    the current value of pause



24
25
26
# File 'lib/huebot/program.rb', line 24

def pause
  @pause
end