Simple deprecation method that deprecates name
by wrapping it up in a dummy method. It warns on each call to the dummy method telling the user of repl
(unless repl
is :none) and the Rubygems version that it is planned to go away.
If response
is an HTTP Success (2XX) response, yields the response if a block was given or shows the response body to the user.
If the response was not successful, shows an error to the user including the error_prefix
and the response body. If the response was a permanent redirect, shows an error to the user including the redirect location.
Wraps text
to wrap
characters and optionally indents by indent
characters
Message to promote available RubyGems update with related gem update command.
Enumerates the parents of directory
.
Discard statistics collected for --yjit-stats
.
Format and print out counters as a String
. This returns a non-empty content only when --yjit-stats
is enabled.
alias foo bar ^^^^^^^^^^^^^
foo in bar ^^^^^^^^^^
alias foo bar ^^^^^^^^^^^^^