Top Level Namespace
Defined Under Namespace
Modules: SystemBang
Instance Method Summary collapse
Instance Method Details
#system!(*args) ⇒ Object
3 4 5 6 7 |
# File 'lib/system_bang.rb', line 3 def system!(*args) out, status = Open3.capture2e(*args) raise RuntimeError, out unless status.success? end |