Resolv::Hosts is a hostname resolver that uses the system hosts file.

Constants
No documentation available
Class Methods

Creates a new Resolv::Hosts, using filename for its data source.

Instance Methods

Iterates over all IP addresses for name retrieved from the hosts file.

Iterates over all hostnames for address retrieved from the hosts file.

Gets the IP address of name from the hosts file.

Gets all IP addresses for name from the hosts file.

Gets the hostname of address from the hosts file.

Gets all hostnames for address from the hosts file.