Class: Spec::Runner::CommandLine
- Defined in:
- lib/spec/runner/command_line.rb
Class Method Summary collapse
Class Method Details
.evented_run(tmp_options = Spec::Runner.options) ⇒ Object Also known as: run
18 19 20 21 22 23 24 25 26 |
# File 'lib/spec/runner/command_line.rb', line 18 def self.evented_run(=Spec::Runner.) EM.run do begin original_run() ensure EM.add_timer(3) {EventMachine::stop} end end end |