Method: IPinfo::IpAddressMatcher#matches

Defined in:
lib/ipinfo/ipAddressMatcher.rb

#matchesObject



83
84
85
86
87
88
89
90
91
# File 'lib/ipinfo/ipAddressMatcher.rb', line 83

def matches
    for bogon in @@bogon_list do
        if bogon.include? required_address
            return true
        end
    end

    false
end