Method: Commandorobo::Command#code

Defined in:
lib/commandorobo.rb,
lib/commandorobo.rb

#codeBlock (readonly)

The code to execute when the command fires.

Returns:

  • (Block)

    the current value of code



115
116
117
# File 'lib/commandorobo.rb', line 115

def code
  @code
end