Sha256: c5af4e04f64af9d127152919e05045d3da27caccb84ee3dd5e8adf96f07ec729
Contents?: true
Size: 166 Bytes
Versions: 3
Compression:
Stored size: 166 Bytes
Contents
module Toy module Identity class UUIDKeyFactory < AbstractKeyFactory def next_key(object) SimpleUUID::UUID.new.to_guid end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
toystore-0.6.1 | lib/toy/identity/uuid_key_factory.rb |
toystore-0.6 | lib/toy/identity/uuid_key_factory.rb |
toystore-0.5 | lib/toy/identity/uuid_key_factory.rb |