123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Core::Invocations::DRbWithFallback Private

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: rspec-core/lib/rspec/core/invocations.rb

Instance Method Summary

Instance Method Details

#call(options, err, out)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/invocations.rb', line 16

def call(options, err, out)
  require 'rspec/core/drb'
  begin
    return DRbRunner.new(options).run(err, out)
  rescue DRb::DRbConnError
    err.puts "No DRb server is running. Running in local process instead ..."
  end
  RSpec::Core::Runner.new(options).run(err, out)
end