Method: Jets::TmpLoader#sh
- Defined in:
- lib/jets/tmp_loader.rb
#sh(command) ⇒ Object
46 47 48 49 50 51 |
# File 'lib/jets/tmp_loader.rb', line 46 def sh(command) puts "=> #{command}" success = system(command) raise "Command #{command} failed" unless success success end |