struct IP2Country::IPAddr

Included Modules

Defined in:

ip2country/ipaddr.cr

Constant Summary

ROUGH_FORMAT = /\A(\d{1,3}\.){3}\d{1,3}\z/

Constructors

Instance Method Summary

Constructor Detail

def self.new(addr : String) #

[View source]
def self.new(value : UInt32) #

[View source]

Instance Method Detail

def +(other : Int) #

[View source]
def <=>(other : self) #

[View source]
def inspect(io) #

[View source]
def octet(index : Int) : UInt8 #

[View source]
def octets #

[View source]
def succ #

[View source]
def to_s(io) #

[View source]
def value : UInt32 #

[View source]