Class: RSpec::Core::Runner
- Inherits:
-
Object
- Object
- RSpec::Core::Runner
- Defined in:
- lib/praegustator.rb
Class Method Summary collapse
Class Method Details
.run_patched(args, err = $stderr, out = $stdout) ⇒ Object
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/praegustator.rb', line 67 def self.run_patched(args, err=$stderr, out=$stdout) trap_interrupt = ConfigurationOptions.new(args) . if .[:drb] require 'rspec/core/drb_command_line' begin DRbCommandLine.new().run(err, out) rescue DRb::DRbConnError CommandLine.new().run(err, out) end else CommandLine.new().run(err, out) end ensure #RSpec.reset end |