Module: Helpers
- Defined in:
- lib/starter_project/spec/spec_helper.rb
Instance Method Summary collapse
Instance Method Details
#execute(cmd) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/starter_project/spec/spec_helper.rb', line 12 def execute(cmd) puts "Running: #{cmd}" if ENV["DEBUG"] out = `#{cmd}` puts out if ENV["DEBUG"] out end |