Sha256: 138d5aab42c4490c3f26c64530847e8372a01b6ddd12d952fdcad6dc6a3c0b0b
Contents?: true
Size: 408 Bytes
Versions: 42
Compression:
Stored size: 408 Bytes
Contents
module CassandraObject module Identity # Key factories need to support 3 operations class UUIDKeyFactory < AbstractKeyFactory class UUID < SimpleUUID::UUID def to_s to_guid end end def next_key(object) UUID.new end def parse(string) UUID.new(string) if string rescue nil end end end end
Version data entries
42 entries across 42 versions & 1 rubygems