class RSpec::Mocks::DirectObjectReference
@private
Represents a reference to that object.
Used when an object is passed to ‘object_double`.
def const_to_replace
def const_to_replace raise ArgumentError, "Can not perform constant replacement with an object." end
def defined?
def defined? true end
def description
def description @object.inspect end
def initialize(object)
def initialize(object) @object = object end
def when_loaded
def when_loaded yield @object end