Class: 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



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

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

.exec(cmd) ⇒ Object



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

def self.exec(cmd)
  sh cmd
end