Sha256: 892c269a1ce80da8c3a558815b825731c68d8099803c847f1774efe88afdbccc
Contents?: true
Size: 198 Bytes
Versions: 144
Compression:
Stored size: 198 Bytes
Contents
module Scrivito module ModelIdentity def ==(other) other.equal?(self) || other.instance_of?(self.class) && other.id == id end alias_method :eql?, :== delegate :hash, to: :id end end
Version data entries
144 entries across 144 versions & 1 rubygems