Class: Beaker::HostCommand

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

Constant Summary

Constants inherited from Command

Command::DEFAULT_GIT_ENV, Command::DEFAULT_GIT_PATH, Command::DEFAULT_GIT_RUBYLIB

Instance Attribute Summary

Attributes inherited from Command

#args, #command, #environment, #options

Instance Method Summary collapse

Methods inherited from Command

#args_string, #environment_string_for, #initialize, #options_string

Constructor Details

This class inherits a constructor from Beaker::Command

Instance Method Details

#cmd_line(host) ⇒ Object



237
238
239
# File 'lib/beaker/command.rb', line 237

def cmd_line host
  eval "\"#{@command}\""
end