Class: RobotInterface::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/rubbot_cli.rb

Direct Known Subclasses

Help, Left, Move, Place, Report, Right

Constant Summary collapse

NoArgumentsError =
Class.new(Exception)

Instance Method Summary collapse

Constructor Details

#initialize(args = []) ⇒ Command

Returns a new instance of Command.



5
6
7
# File 'lib/rubbot_cli.rb', line 5

def initialize(args = [])
  @args = args
end