Class: Larynx::CallCommand
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
#finalize, #initialize, #interruptable?, #interrupted?, #setup
Methods included from Callbacks
Constructor Details
This class inherits a constructor from Larynx::Command
Instance Method Details
#name ⇒ Object
40 41 42 |
# File 'lib/larynx/command.rb', line 40 def name "#{@command}#{" #{@params}" if @params}" end |
#to_s ⇒ Object
44 45 46 47 48 |
# File 'lib/larynx/command.rb', line 44 def to_s cmd = "#{@command}" cmd << " #{@params}" if @params cmd << "\n\n" end |