PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
IPAddr
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new ipaddr object either from a human readable IP address representation in string, or from a packed in_addr value followed by an address family. - !ruby/struct:SM::Flow::P body: "In the former case, the following are the valid formats that will be recognized: "address", "address/prefixlen" and "address/mask", where IPv6 address may be enclosed in square brackets (`[' and `]'). If a prefixlen or a mask is specified, it returns a masked IP address. Although the address family is determined automatically from a specified string, you can specify one explicitly by the optional second argument." - !ruby/struct:SM::Flow::P body: Otherwise an IP addess is generated from a packed in_addr value and an address family. - !ruby/struct:SM::Flow::P body: The IPAddr class defines many methods and operators, and some of those, such as &, |, include? and ==, accept a string, or a packed in_addr value instead of an IPAddr object. full_name: IPAddr::new is_singleton: true name: new params: (addr = '::', family = Socket::AF_UNSPEC) visibility: public
[-] ip6_arpa-i.yaml
[edit]
[-] %3c%3d%3e-i.yaml
[edit]
[-] native-i.yaml
[edit]
[-] to_string-i.yaml
[edit]
[-] hton-i.yaml
[edit]
[-] in6_addr-i.yaml
[edit]
[-] ipv4_compat%3f-i.yaml
[edit]
[-] %3d%3d%3d-i.yaml
[edit]
[-] %7e-i.yaml
[edit]
[-] %3c%3c-i.yaml
[edit]
[-] %3e%3e-i.yaml
[edit]
[-] in_addr-i.yaml
[edit]
[-] ipv4_mapped-i.yaml
[edit]
[-] addr_mask-i.yaml
[edit]
[-] include%3f-i.yaml
[edit]
[-] ipv6%3f-i.yaml
[edit]
[-] inspect-i.yaml
[edit]
[-] succ-i.yaml
[edit]
[-] to_range-i.yaml
[edit]
[-] %3d%3d-i.yaml
[edit]
[-] _to_string-i.yaml
[edit]
[-] mask%21-i.yaml
[edit]
[+]
..
[-] new_ntoh-c.yaml
[edit]
[-] cdesc-IPAddr.yaml
[edit]
[-] to_i-i.yaml
[edit]
[-] ntop-c.yaml
[edit]
[-] ipv4%3f-i.yaml
[edit]
[-] new-c.yaml
[edit]
[-] coerce_other-i.yaml
[edit]
[-] set-i.yaml
[edit]
[-] mask-i.yaml
[edit]
[-] %26-i.yaml
[edit]
[-] %7c-i.yaml
[edit]
[-] ipv4_mapped%3f-i.yaml
[edit]
[-] ipv4_compat-i.yaml
[edit]
[-] to_s-i.yaml
[edit]
[-] ip6_int-i.yaml
[edit]
[-] reverse-i.yaml
[edit]
[-] _reverse-i.yaml
[edit]