Comes from ripper, called on every parse error, msg is a string
Set
header fields and a body from HTML form data. params
should be an Array
of Arrays or a Hash
containing HTML form data. Optional argument sep
means data record separator.
Values are URL encoded as necessary and the content-type is set to application/x-www-form-urlencoded
Example:
http.form_data = {"q" => "ruby", "lang" => "en"} http.form_data = {"q" => ["ruby", "perl"], "lang" => "en"} http.set_form_data({"q" => "ruby", "lang" => "en"}, ';')
Net::HTTPHeader#form_data=
is an alias for Net::HTTPHeader#set_form_data
.
Set
Proxy-Authorization: header for “Basic” authorization.
Creates a self-signed certificate with an issuer and subject from email
, a subject alternative name of email
and the given extensions
for the key
.
Deprecation method to deprecate Rubygems commands
Deprecation method to deprecate Rubygems commands
Default options for the gem install and update commands.
Determines if current environment is eglible for update suggestion.
Asks for a password with a prompt
Add the –platform option to the option parser.
Marshal
dumps exit locations to the given filename.
Usage:
If ‘–yjit-exit-locations` is passed, a file named “yjit_exit_locations.dump” will automatically be generated.
If you want to collect traces manually, call ‘dump_exit_locations` directly.
Note that calling this in a script will generate stats after the dump is created, so the stats data may include exits from the dump itself.
In a script call:
at_exit do RubyVM::YJIT.dump_exit_locations("my_file.dump") end
Then run the file with the following options:
ruby --yjit --yjit-trace-exits test.rb
Once the code is done running, use Stackprof to read the dump file. See Stackprof documentation for options.
@return [Array<Object>] all of the requirements that required
this vertex
@return [RequirementState] the current state the resolution is
operating upon
(see Gem::Resolver::Molinillo::ResolutionState#requirements)
(see Gem::Resolver::Molinillo::ResolutionState#activated)
(see Gem::Resolver::Molinillo::ResolutionState#requirement)
(see Gem::Resolver::Molinillo::ResolutionState#depth)