PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
IPAddr
U:RDoc::AnyMethod[iI"new:ETI"IPAddr::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"ACreates a new ipaddr object either from a human readable IP ;TI"Faddress representation in string, or from a packed in_addr value ;TI"#followed by an address family.;To:RDoc::Markup::BlankLine o; ; [I"GIn the former case, the following are the valid formats that will ;TI"Gbe recognized: "address", "address/prefixlen" and "address/mask", ;TI"Dwhere IPv6 address may be enclosed in square brackets (`[' and ;TI"G`]'). If a prefixlen or a mask is specified, it returns a masked ;TI"<IP address. Although the address family is determined ;TI"@automatically from a specified string, you can specify one ;TI"0explicitly by the optional second argument.;T@o; ; [I"FOtherwise an IP address is generated from a packed in_addr value ;TI"and an address family.;T@o; ; [I"FThe IPAddr class defines many methods and operators, and some of ;TI"Hthose, such as &, |, include? and ==, accept a string, or a packed ;TI"/in_addr value instead of an IPAddr object.;T: @fileI"lib/ipaddr.rb;T:0@omit_headings_from_table_of_contents_below000[ I".(addr = '::', family = Socket::AF_UNSPEC);T@#FI"IPAddr;TcRDoc::NormalClass00
[-] wildcard_mask-i.ri
[edit]
[+]
InvalidPrefixError
[+]
Error
[-] include%3f-i.ri
[edit]
[-] to_range-i.ri
[edit]
[-] %7c-i.ri
[edit]
[-] %3c%3c-i.ri
[edit]
[-] to_s-i.ri
[edit]
[-] _reverse-i.ri
[edit]
[-] native-i.ri
[edit]
[-] to_json-i.ri
[edit]
[+]
AddressFamilyError
[-] %3c%3d%3e-i.ri
[edit]
[-] prefix-i.ri
[edit]
[-] as_json-i.ri
[edit]
[-] zone_id-i.ri
[edit]
[-] ntop-c.ri
[edit]
[-] ip6_arpa-i.ri
[edit]
[-] _to_string-i.ri
[edit]
[-] mask%21-i.ri
[edit]
[-] hton-i.ri
[edit]
[-] ip6_int-i.ri
[edit]
[-] %26-i.ri
[edit]
[-] new-c.ri
[edit]
[-] in_addr-i.ri
[edit]
[-] zone_id%3d-i.ri
[edit]
[-] reverse-i.ri
[edit]
[-] private%3f-i.ri
[edit]
[-] ipv6%3f-i.ri
[edit]
[-] family-i.ri
[edit]
[-] hash-i.ri
[edit]
[-] netmask-i.ri
[edit]
[-] mask-i.ri
[edit]
[-] %3d%3d%3d-i.ri
[edit]
[-] in6_addr-i.ri
[edit]
[-] eql%3f-i.ri
[edit]
[-] begin_addr-i.ri
[edit]
[-] new_ntoh-c.ri
[edit]
[-] prefix%3d-i.ri
[edit]
[-] _ipv4_compat%3f-i.ri
[edit]
[-] ipv4_compat%3f-i.ri
[edit]
[-] coerce_other-i.ri
[edit]
[-] to_i-i.ri
[edit]
[-] %3e%3e-i.ri
[edit]
[-] ipv4_mapped%3f-i.ri
[edit]
[-] to_string-i.ri
[edit]
[+]
..
[-] addr_mask-i.ri
[edit]
[-] set-i.ri
[edit]
[-] ipv4%3f-i.ri
[edit]
[+]
InvalidAddressError
[-] succ-i.ri
[edit]
[-] link_local%3f-i.ri
[edit]
[-] %3d%3d-i.ri
[edit]
[-] ipv4_compat-i.ri
[edit]
[-] ipv4_mapped-i.ri
[edit]
[-] inspect-i.ri
[edit]
[-] %7e-i.ri
[edit]
[-] cidr-i.ri
[edit]
[-] end_addr-i.ri
[edit]
[-] cdesc-IPAddr.ri
[edit]
[-] loopback%3f-i.ri
[edit]