Module: Dome::Shell
Instance Method Summary collapse
Instance Method Details
#execute_command(command, failure_message) ⇒ Object
3 4 5 6 7 |
# File 'lib/dome/helpers/shell.rb', line 3 def execute_command(command, ) puts "About to execute command: #{command.colorize(:yellow)}" success = system command puts unless success end |