class RSpec::Core::Runner
Public Class Methods
run_patched(args, err=$stderr, out=$stdout)
click to toggle source
# File lib/praegustator.rb, line 67 def self.run_patched(args, err=$stderr, out=$stdout) trap_interrupt options = ConfigurationOptions.new(args) options.parse_options if options.options[:drb] require 'rspec/core/drb_command_line' begin DRbCommandLine.new(options).run(err, out) rescue DRb::DRbConnError CommandLine.new(options).run(err, out) end else CommandLine.new(options).run(err, out) end ensure #RSpec.reset end