Enumerate all subkeys.
For each subkey it yields subkey and wtime.
subkey is String
which contains name of subkey. wtime is last write time as FILETIME (64-bit integer). (see Registry.wtime2time
)
See Zlib::GzipReader
documentation for a description.
See Zlib::GzipReader
documentation for a description.
Iterates over the buffer, yielding each byte starting from offset
.
If count
is given, only count
bytes will be yielded.
IO::Buffer.for("Hello World").each_byte(2, 2) do |offset, byte| puts "#{offset}: #{byte}" end # 2: 108 # 3: 108
Validates typecode v
, returns true
or false
.
Return the character offset for the given byte offset.
Return the column number in characters for the given byte offset.
Return the character offset for the given byte offset.
Return the column number in characters for the given byte offset.
Attach the list of comments to their respective locations in the tree.
Iterates over all IP addresses for name
retrieved from the hosts file.
Iterates over all hostnames for address
retrieved from the hosts file.
Iterates over all IP addresses for name
retrieved from the DNS
resolver.
name
can be a Resolv::DNS::Name
or a String
. Retrieved addresses will be a Resolv::IPv4
or Resolv::IPv6
Iterates over all hostnames for address
retrieved from the DNS
resolver.
address
must be a Resolv::IPv4
, Resolv::IPv6
or a String
. Retrieved names will be Resolv::DNS::Name
instances.
Iterates over all typeclass
DNS
resources for name
. See getresource
for argument details.
Iterates over all IP addresses for name
retrieved from the mDNS resolver, provided name ends with “local”. If the name does not end in “local” no records will be returned.
name
can be a Resolv::DNS::Name
or a String
. Retrieved addresses will be a Resolv::IPv4
or Resolv::IPv6
Yields the Gem::Specification
for each Tuple
in this AvailableSet
Does this dependency match spec
?
NOTE: This is not a convenience method. Unlike match?
this method returns true when spec
is a prerelease version even if this dependency is not a prerelease dependency.