Class: Runner::Make
- Inherits:
-
Object
- Object
- Runner::Make
- Defined in:
- lib/logpoop/runner/make.rb
Instance Method Summary collapse
Instance Method Details
#run(opts = {}) ⇒ Object
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/logpoop/runner/make.rb', line 3 def run(opts={}) stdout, other_tty = Context.ttys.values[0..1] threads = [] threads << Thread.new(stdout) do |myout| sim = Simulator::Make.new(myout) Context.simulators << sim sim.fake_it end threads.map(&:join) end |