class IPGeolocation::Lookup

Defined in:

ip_geolocation/lookup.cr

Constant Summary

DEFAULT_INPUT_PATH = "data/IP2LOCATION-LITE-DB3.CSV.ZIP"

Instance Method Summary

Instance Method Detail

def build_index(file_path = DEFAULT_INPUT_PATH) #

[View source]
def find(value : UInt32) : Location | Nil #

[View source]
def size(*args, **options) #

[View source]
def size(*args, **options, &) #

[View source]