Module: ShellExtensions

Included in:
Pupu::GitHub
Defined in:
lib/pupu/github.rb

Instance Method Summary collapse

Instance Method Details

#run(command) ⇒ Object



11
12
13
14
15
# File 'lib/pupu/github.rb', line 11

def run(command)
  puts "[SHELL] #{command} # in #{Dir.pwd}"
  %x(#{command})
  $?.exitstatus == 0
end