Method: ShellHelpers::Run#run_success
- Defined in:
- lib/shell_helpers/run.rb
#run_success(*command, **opts, &b) ⇒ Object
like run, but only returns status.success?
169 170 171 172 |
# File 'lib/shell_helpers/run.rb', line 169 def run_success(*command, **opts, &b) status, _out, _error = run(*command, **opts, &b) status.success? end |