Class: RSpec::Mocks::Double

Inherits:
Object
  • Object
show all
Includes:
TestDouble
Defined in:
lib/rspec/mocks/test_double.rb

Overview

A generic test double object. `double`, `instance_double` and friends return an instance of this.

Method Summary

Methods included from TestDouble

#==, #__build_mock_proxy, #__disallow_further_usage!, #as_null_object, #freeze, #initialize, #inspect, #null_object?, #respond_to?, #to_s

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RSpec::Mocks::TestDouble