Results for: "OptionParser"

Calls say with msg or the results of the block if really_verbose is true.

Returns whether the response may have a body:

Net::HTTP::Post.new(uri).response_body_permitted? # => true
Net::HTTP::Head.new(uri).response_body_permitted? # => false
No documentation available

The character offset from the beginning of the source where this location ends.

The column number in characters where this location ends from the start of the line.

No documentation available
No documentation available

Finds all gems that satisfy dep

No documentation available

Implementation for Specification#validate_for_resolution

No documentation available
No documentation available

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.

-> { _1 + _2 } ^^^^^^^^^^^^^^

def foo(bar = 1); end

^^^^^^^

def foo(bar = 1); end

^^^^^^^

Perform hostname verification following RFC 6125.

This method MUST be called after calling connect to ensure that the hostname of a remote peer has been verified.

Fetch the start character offset of the value.

Parses a source buffer and returns the AST and the source code comments.

def foo(bar, *baz); end

^^^^^^^^^

Oldest version we support downgrading to. This is the version that originally ships with the oldest supported patch version of ruby.

The required_ruby_version constraint for this specification

A fallback is included because when generated, some marshalled specs have it set to nil.

The required_rubygems_version constraint for this specification

A fallback is included because the original version of the specification API didn’t include that field, so some marshalled specs in the index have it set to nil.

The required_ruby_version constraint for this specification

The required_rubygems_version constraint for this specification

Search took: 4ms  ·  Total Results: 3731