Sha256: f436a30406fdda631f369fda9debd52cae505eba166cfb12b727021f76875483
Contents?: true
Size: 293 Bytes
Versions: 60
Compression:
Stored size: 293 Bytes
Contents
# encoding: UTF-8 module MongoMapper module Plugins module Equality module InstanceMethods def eql?(other) other.is_a?(self.class) && _id == other._id end alias :== :eql? def hash _id.hash end end end end end
Version data entries
60 entries across 60 versions & 7 rubygems