Sha256: 70401032f649e96dd1a216fb392786607c811d7f35d6b3c42163e40b163ef47b
Contents?: true
Size: 157 Bytes
Versions: 1
Compression:
Stored size: 157 Bytes
Contents
module Mocktail class ComparesSafely def compare(thing, other_thing) Object.instance_method(:==).bind_call(thing, other_thing) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mocktail-1.1.2 | lib/mocktail/share/compares_safely.rb |