Class: SafeExec::NoOutputExecutor
- Inherits:
-
Executor
- Object
- PipeExecutor
- Executor
- SafeExec::NoOutputExecutor
- Defined in:
- lib/safe_exec/no_output_executor.rb
Defined Under Namespace
Modules: NullIO
Constant Summary
Constants inherited from PipeExecutor
Instance Method Summary collapse
-
#initialize ⇒ NoOutputExecutor
constructor
A new instance of NoOutputExecutor.
Methods inherited from PipeExecutor
Constructor Details
#initialize ⇒ NoOutputExecutor
Returns a new instance of NoOutputExecutor.
15 16 17 18 19 |
# File 'lib/safe_exec/no_output_executor.rb', line 15 def initialize super @stdout = NullIO @stderr = NullIO end |