Gets the IP address of name
from the hosts file.
Gets all IP addresses for name
from the hosts file.
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
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:
Resolv::DNS::Resource::IN::ANY
Resolv::DNS::Resource::IN::CNAME
Resolv::DNS::Resource::IN::HINFO
Resolv::DNS::Resource::IN::MINFO
Resolv::DNS::Resource::IN::MX
Resolv::DNS::Resource::IN::NS
Resolv::DNS::Resource::IN::PTR
Resolv::DNS::Resource::IN::SOA
Resolv::DNS::Resource::IN::TXT
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.
Creates a new IPv6
address from arg
which may be:
Reads tuple
from the proxied TupleSpace
. See TupleSpace#read
.
Called by the TupleSpace
to check if the object is still alive.
Contains all discovered TupleSpaces except for the primary.
Contains all discovered TupleSpaces except for the primary.
Has this tuple expired? (true/false).
A tuple has expired when its expiry timer based on the sec
argument to initialize runs out.
Reset the expiry time according to sec_or_renewer
.
nil
it is set to expire in the far future.
true
it has expired.
Numeric
it will expire in that many seconds.
Otherwise the argument refers to some kind of renewer object which will reset its expiry time.
Reads tuple
, but does not remove it.
Platform of the gem
Whether this specification is stubbed - i.e. we have information about the gem from a stub line, without having to evaluate the entire gemspec file.