module RSpec::Mocks::Serialization
def self.fix_for(object)
- Private: -
def self.fix_for(object) object.extend(YAML) if defined?(::YAML) rescue TypeError # Can't extend Fixnums, Symbols, true, false, or nil end
def self.fix_for(object) object.extend(YAML) if defined?(::YAML) rescue TypeError # Can't extend Fixnums, Symbols, true, false, or nil end