Class: Heroploy::Shell

Inherits:
Object
  • Object
show all
Extended by:
FileUtils
Defined in:
lib/heroploy/commands/shell.rb

Class Method Summary collapse

Class Method Details

.eval(cmd) ⇒ Object



5
6
7
# File 'lib/heroploy/commands/shell.rb', line 5

def self.eval(cmd)
  `#{cmd}`
end

.exec(cmd) ⇒ Object



9
10
11
# File 'lib/heroploy/commands/shell.rb', line 9

def self.exec(cmd)
  sh cmd
end