Module: ProcessOutputWrapper::DSL
- Defined in:
- lib/process_output_wrapper/dsl.rb
Instance Method Summary collapse
Instance Method Details
#run_this(command, &blk) ⇒ Object
3 4 5 6 7 |
# File 'lib/process_output_wrapper/dsl.rb', line 3 def run_this(command, &blk) command = Command.new(command) command.instance_eval(&blk) command.execute end |