class RSpec::Mocks::Constant

def self.original(name)

Returns:
  • (Constant) - an object contaning information about the named

Parameters:
  • name (String) -- the name of the constant
def self.original(name)
  stubber = ConstantStubber.find(name)
  stubber ? stubber.to_constant : unstubbed(name)
end