Class: Angelo::Minitest::Helpers::Reactor

Inherits:
Object
  • Object
show all
Extended by:
Cellper
Includes:
Celluloid::IO
Defined in:
lib/angelo/minitest/helpers.rb

Instance Method Summary collapse

Methods included from Cellper

define_action, remove_action, stop!, stop?, testers, unstop!

Instance Method Details

#wait_for_stopObject



137
138
139
# File 'lib/angelo/minitest/helpers.rb', line 137

def wait_for_stop
  every(0.01){ terminate if Reactor.stop? }
end