Class: XCodeBuildHelper::Execute

Inherits:
Object
  • Object
show all
Defined in:
lib/execute.rb

Class Method Summary collapse

Class Method Details

.call(cmd) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/execute.rb', line 3

def self.call cmd
  begin
    return `#{cmd}`
  rescue
    puts "Error running #{cmd}"
  end
end