class RSpec::Mocks::Constant
def self.unmutated(name)
- Api: - private
def self.unmutated(name) const = new(name) const.previously_defined = recursive_const_defined?(name) const.stubbed = false const.hidden = false const.original_value = recursive_const_get(name) if const.previously_defined? const end