| RelativeLocationPath | '/' RelativeLocationPath? | '//' RelativeLocationPath
Downloads uri
to path
if necessary. If no path is given, it just passes the data.
Fully expand the name, even if the prefix wasn’t specified in the source file.
Set
the names of the members
in this C struct
Returns original filename recorded in the gzip file header, or nil
if original filename is not present.
Specify the original name (str
) in the gzip header.
Returns the absolute path of this instruction sequence.
nil
if the iseq was evaluated from a string.
For example, using ::compile_file
:
# /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb') > iseq.absolute_path #=> /tmp/method.rb
Formats time
as an IMAP-style date-time.
Private setter for the path of the URI::FTP
Main name of the switch.
Iterates over all hostnames for address
retrieved from the hosts file.
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.
Turns this IPv4
address into a Resolv::DNS::Name
.
Turns this IPv6
address into a Resolv::DNS::Name
.
retrieve class_name
for the supplied uri and tag_name If it doesn’t exist, capitalize the tag_name
Returns the full name (name-version) of this Gem. Platform information is included (name-version-platform) if it is specified and not the default Ruby platform.