Class: Bbq::Spawn::Executor
- Inherits:
-
Object
- Object
- Bbq::Spawn::Executor
- Extended by:
- Forwardable
- Defined in:
- lib/bbq/spawn.rb
Instance Method Summary collapse
-
#initialize(*args) {|@process| ... } ⇒ Executor
constructor
A new instance of Executor.
Constructor Details
#initialize(*args) {|@process| ... } ⇒ Executor
Returns a new instance of Executor.
15 16 17 18 19 |
# File 'lib/bbq/spawn.rb', line 15 def initialize(*args) @process = ChildProcess.build(*args) yield @process if block_given? @process end |