@@foo = 1 ^^^^^^^^^
@@foo, = bar ^^^^^
$foo = 1 ^^^^^^^^
alias $foo $bar ^^^^^^^^^^^^^^^
@@foo = 1 ^^^^^^^^^
@@foo, @@bar = 1 ^^^^^ ^^^^^
@@foo, = bar ^^^^^
$foo = 1 ^^^^^^^^
$foo, $bar = 1 ^^^^ ^^^^
foo = 1 ^^^^^^^
foo, bar = 1 ^^^ ^^^
Returns the Object#object_id
of the internal object.
Extracts addr from IPV6_PKTINFO ancillary data.
IPV6_PKTINFO is defined by RFC 3542.
addr = Addrinfo.ip("::1") ifindex = 0 ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex) p ancdata.ipv6_pktinfo_addr #=> #<Addrinfo: ::1>
Extracts ifindex from IPV6_PKTINFO ancillary data.
IPV6_PKTINFO is defined by RFC 3542.
addr = Addrinfo.ip("::1") ifindex = 0 ancdata = Socket::AncillaryData.ipv6_pktinfo(addr, ifindex) p ancdata.ipv6_pktinfo_ifindex #=> 0