Class: RSpec::Mocks::Double

Inherits:
Object show all
Includes:
TestDouble
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rspec-mocks-3.12.2/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_unless_expired, #__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