Create a new RestParameterNode
node.
Create a new ShareableConstantNode
node.
Create a new SourceLineNode
node.
Retrieve the value of one of the IntegerBaseFlags
flags.
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.
Asks the user to answer question
with an answer from the given list
.
Clear recorded tracing information.
Constant time memory comparison for fixed length strings, such as results of HMAC
calculations.
Returns true
if the strings are identical, false
if they are of the same length but not identical. If the length is different, ArgumentError
is raised.
Quietly ensure the Gem
directory dir
contains all the proper subdirectories for handling default gems. If we can’t create a directory due to a permission problem, then we will silently continue.
If mode
is given, missing directories are created with this mode.
World-writable directories will never be created.
Find
an unresolved Gem::Specification
of default gem from path
Return the value that should be dumped for the command_line option.
@@foo += bar ^^^^^^^^^^^^
@@foo &&= bar ^^^^^^^^^^^^^
@@foo ||= bar ^^^^^^^^^^^^^