Retrieves a password from the database for user in realm. If reload_db is true the database will be reloaded first.
Removes a password from the database for user in realm.
Retrieves a password from the database for user in realm. If reload_db is true the database will be reloaded first.
Removes a password from the database for user in realm.
Allow custom handling of requests for files with suffix by class handler
Remove custom handling of requests for files with suffix
A FormData will behave like an Array
Returns the base label of this frame.
Usually same as label, without decoration.
Returns the full file path of this frame.
Same as path, but includes the absolute path.
Check is passed argument valid ‘number’ in RFC 3501 terminology
Ensure argument is ‘number’ or raise DataFormatError
Creates an obscured password in realm with user and password using the auth_type of this database.
Retrieves a password in realm for user for the auth_type of this database. reload_db is a dummy value.
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
Creates a new Socket::Option object for IP_MULTICAST_TTL.
The size is dependent on the platform.
p Socket::Option.ipv4_multicast_ttl(10) #=> #<Socket::Option: INET IP MULTICAST_TTL 10>
Returns the ipv4_multicast_ttl data in sockopt as a integer.
sockopt = Socket::Option.ipv4_multicast_ttl(10) p sockopt.ipv4_multicast_ttl => 10
Load an iseq object from binary format String object created by RubyVM::InstructionSequence.to_binary.
This loader does not have a verifier, so that loading broken/modified binary causes critical problem.
You should not load binary data provided by others. You should use binary data translated by yourself.
Creates a regular expression to match IPv4 addresses