Class: RSpec::Mocks::NamedObjectReference

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/mocks/object_reference.rb

Overview

Used when a string is passed to class_double, instance_double or object_double. Represents a reference to the object named (via a constant lookup) by the string.