Sha256: de280c3f049accff92e94db3c57639237c69803e9f73e09ec494656a5c0f969a
Contents?: true
Size: 232 Bytes
Versions: 1
Compression:
Stored size: 232 Bytes
Contents
module PassiveRecord class Identifier < Struct.new(:value) def self.generate new(SecureRandom.uuid) end def ==(other_id) self.value == other_id.value end def inspect value end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
passive_record-0.1.3 | lib/passive_record/core/identifier.rb |