Class: Runner::Make

Inherits:
Object
  • Object
show all
Defined in:
lib/logpoop/runner/make.rb

Instance Method Summary collapse

Instance Method Details

#runObject



3
4
5
6
7
8
9
10
11
12
# File 'lib/logpoop/runner/make.rb', line 3

def run
  stdout, other_tty = Context.ttys[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