module Hibp::Cuckoo::Filter
Constants
- VERSION
Public Class Methods
all()
click to toggle source
# File lib/hibp/cuckoo/filter.rb, line 9 def self.all Dir.chdir dir do Dir.glob '*.json.gz' end end
dir()
click to toggle source
# File lib/hibp/cuckoo/filter.rb, line 6 def self.dir File.absolute_path File.join(__FILE__, '..','..','..','..') end
large()
click to toggle source
# File lib/hibp/cuckoo/filter.rb, line 14 def self.large File.join dir, "serialized-top-56000000-x1.json.gz" end
medium()
click to toggle source
# File lib/hibp/cuckoo/filter.rb, line 17 def self.medium File.join dir, "serialized-top-5600000-x1.json.gz" end
small()
click to toggle source
# File lib/hibp/cuckoo/filter.rb, line 20 def self.small File.join dir, "serialized-top-560000-x1.json.gz" end