Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.
Returns the value of the node as an IntegerNode or a FloatNode. This method is deprecated in favor of value
or numerator/#denominator.
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.
A Location
object representing the location of this token in the source.
if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second
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