Results for: "Logger"

No documentation available
No documentation available
No documentation available
No documentation available

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.

Closes the DNS resolver.

Gets the IP address of name from the DNS resolver.

name can be a Resolv::DNS::Name or a String. Retrieved address will be a Resolv::IPv4 or Resolv::IPv6

Gets all IP addresses for name from the DNS resolver.

name can be a Resolv::DNS::Name or a String. Retrieved addresses will be a Resolv::IPv4 or Resolv::IPv6

Gets the hostname for address from the DNS resolver.

address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved name will be a Resolv::DNS::Name.

Gets all hostnames for address from the DNS resolver.

address must be a Resolv::IPv4, Resolv::IPv6 or a String. Retrieved names will be Resolv::DNS::Name instances.

Look up the typeclass DNS resource of name.

name must be a Resolv::DNS::Name or a String.

typeclass should be one of the following:

Returned resource is represented as a Resolv::DNS::Resource instance, i.e. Resolv::DNS::Resource::IN::A.

Looks up all typeclass DNS resources for name. See getresource for argument details.

Returns a copy of this attribute

Make a copy of this object

Examples

c = CData.new( "Some text" )
d = c.clone
d.to_s        # -> "Some text"
No documentation available
No documentation available

Should be obvious

@return the XMLDecl version of this document as a String. If no XMLDecl has been set, returns the default version.

Creates a shallow copy of self.

d = Document.new "<a><b/><b/><c><d/></c></a>"
new_a = d.root.clone
puts new_a  # => "<a/>"

Private helper class. Removes quotes from quoted strings

No documentation available

Given an array of nodes it filters the array based on the path. The result is that when this method returns, the array will contain elements which match the path

Search took: 3ms  ·  Total Results: 2442