Class: Shell

Inherits:
Passenger show all
Defined in:
lib/exogenesis/passengers/shell.rb

Overview

Executes shell commands

Instance Method Summary collapse

Methods inherited from Passenger

by_name, emoji_name, #initialize, needs, register_as, with_emoji

Constructor Details

This class inherits a constructor from Passenger

Instance Method Details

#upObject



9
10
11
12
13
# File 'lib/exogenesis/passengers/shell.rb', line 9

def up
  commands.each do |command|
    execute_command(command)
  end
end