Discard changes that have not been committed and revert the last commit
Cannot revert the first commit
Returns the destination encoding name as a string.
Returns the destination encoding name as a string.
Returns URL-escaped string following RFC 3986.
Returns URL-unescaped string following RFC 3986.
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.
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.
Default options for the gem install and update commands.
Allows Gem::OptionParser
to handle HTTP URIs.
Asks the user to answer question
with an answer from the given list
.