Sha256: ec49af5e4be8c1674dfc328222f94c65acc4829682ccd53a43de890eeff3dee8
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
module Marshal class << self def dump_with_mocks(*args) object = args.shift if ( ::RSpec::Mocks.space && !::RSpec::Mocks.space.registered?(object) ) || NilClass === object return dump_without_mocks(*args.unshift(object)) end dump_without_mocks(*args.unshift(object.dup)) end alias_method :dump_without_mocks, :dump undef_method :dump alias_method :dump, :dump_with_mocks end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-mocks-2.14.0.rc1 | lib/rspec/mocks/extensions/marshal.rb |