# File lib/anemone/storage/kyoto_cabinet.rb, line 41 def has_key?(key) # Kyoto Cabinet doesn't have a way to query whether a key exists, so hack it keys = @db.match_prefix(key) !!keys && keys.include?(key) end