Class: Erika::Runner
- Inherits:
-
Object
- Object
- Erika::Runner
- Defined in:
- lib/erika/runner.rb
Class Method Summary collapse
Class Method Details
.call(cmd) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/erika/runner.rb', line 4 def call(cmd) puts '-' * 100 puts cmd puts '-' * 100 stdo, stde, process = Open3.capture3(cmd) _display_error(stde) if stde.length > 0 stdo end |