Method: Cmds#out!
- Defined in:
- lib/cmds.rb
#out!(*args, **kwds, &input) ⇒ String
captures and returns stdout
(sugar for #capture(*args, **kwds, &input_block).out).
410 411 412 |
# File 'lib/cmds.rb', line 410 def out! *args, **kwds, &input capture(*args, **kwds, &input).assert.out end |