class Shell

Executes shell commands

Public Instance Methods

up() click to toggle source
# File lib/exogenesis/passengers/shell.rb, line 9
def up
  commands.each do |command|
    execute_command(command)
  end
end

Private Instance Methods

execute_command(command) click to toggle source
# File lib/exogenesis/passengers/shell.rb, line 17
def execute_command(command)
  execute "Executing command `#{command}`", "#{command}"
end