Class: TheRunner::Command

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

Instance Method Summary collapse

Constructor Details

#initialize(command) ⇒ Command

Returns a new instance of Command.



3
4
5
# File 'lib/the_runner/command.rb', line 3

def initialize(command)
  @command = command
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/the_runner/command.rb', line 7

def to_s
  @command
end