Returns the full path to the file containing the build information generated when the gem was installed
Sets extra_rdoc_files
to files
, ensuring it is an array.
Finds all gems that satisfy dep
Choose from a list of options. question
is a prompt displayed above the list. list
is a list of option strings. Returns the pair [option_name, option_index].
Writes a number of random generated bytes (currently 1024) to filename which can be used to initialize the PRNG by calling ::load_random_file
in a later session.
offline mode. read name=value pairs on standard input.
Yields to a block and preserves the previous set of objects being printed.
Check whether the object_id id
is in the current buffer of objects to be pretty printed. Used to break cycles in chains of objects to be pretty printed.
Adds the object_id id
to the set of objects being pretty printed, so as to not repeat objects.
Removes an object from the set of objects being pretty printed.
Creates an RubyGems API to host
and path
with the given HTTP method
.
If allowed_push_host
metadata is present, then it will only allow that host.
Retrieves the pre-configured API key key
or terminates interaction with an error.
Allows Gem::OptionParser
to handle HTTP URIs.