Class: SafeExec::Executor
- Inherits:
-
PipeExecutor
- Object
- PipeExecutor
- SafeExec::Executor
- Defined in:
- lib/safe_exec/executor.rb
Direct Known Subclasses
Constant Summary
Constants inherited from PipeExecutor
Instance Method Summary collapse
-
#initialize ⇒ Executor
constructor
A new instance of Executor.
Methods inherited from PipeExecutor
Constructor Details
#initialize ⇒ Executor
Returns a new instance of Executor.
8 9 10 |
# File 'lib/safe_exec/executor.rb', line 8 def initialize super(StringIO.new.tap { |io| io.close }, $stdout, $stderr) end |