class RSpec::Mocks::DirectModuleReference

@private
Represents a reference to that module.
Used when a module is passed to ‘class_double` or `instance_double`.

def const_to_replace

def const_to_replace
  @object.name
end