Module: Bcome::CommandHelper

Included in:
Node::Base, Stack::Base
Defined in:
lib/helpers/command_helper.rb

Instance Method Summary collapse

Instance Method Details

#run_local(command, silent = false) ⇒ Object Also known as: local



3
4
5
6
# File 'lib/helpers/command_helper.rb', line 3

def run_local(command, silent = false)
  puts "(local) > #{command}" if !silent && ::VERBOSE
  system(command)
end