Sha256: be72f3f4169db19dd961e23844a31e8df68f9ad9e3a93d730ebc1b40d2300be2
Contents?: true
Size: 465 Bytes
Versions: 79
Compression:
Stored size: 465 Bytes
Contents
require("cipherstash-pg") unless defined? CipherStashPG class CipherStashPG::Tuple def inspect "#<#{self.class} #{self.map { |k, v| "#{k}: #{v.inspect}" }.join(", ")}>" end def has_key?(key) field_map.has_key?(key) end alias :key? :has_key? def keys (field_names or field_map.keys.freeze) end def each_key(&block) if fn = field_names then fn.each(&block) else field_map.each_key(&block) end end end
Version data entries
79 entries across 79 versions & 1 rubygems