Module: Pgmove::Helper
Instance Method Summary collapse
Methods included from Logger
Instance Method Details
#system!(command, display: true, env: {}) ⇒ Object
8 9 10 11 12 |
# File 'lib/pgmove/helper.rb', line 8 def system!(command, display: true, env: {}) logger.bullet command if display ok = system env, command raise "Non zero exit: #{command}" if not ok end |