Sha256: 50855b61cb2aadafc4d09abb43cf9bb7a33c55dad0281877936c6f6a42cfa9fe

Contents?: true

Size: 220 Bytes

Versions: 1

Compression:

Stored size: 220 Bytes

Contents

module Toy
  module Identity
    class NativeUUIDKeyFactory < AbstractKeyFactory
      def key_type
        SimpleUUID::UUID
      end

      def next_key(object)
        SimpleUUID::UUID.new
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
toystore-0.12.0 lib/toy/identity/native_uuid_key_factory.rb