Results for: "OptionParser"

No documentation available

def foo(bar: baz); end

^^^^^^^^
No documentation available

Called before each event with line/column information.

No documentation available
No documentation available

Take a location from the prism parser and set the necessary instance variables.

Sets the continue timeout value, which is the number of seconds to wait for an expected 100 Continue response. If the HTTP object does not receive a response in this many seconds it sends the request body.

Sets the continue timeout value, which is the number of seconds to wait for an expected 100 Continue response. If the HTTP object does not receive a response in this many seconds it sends the request body.

Return the character offset for the given byte offset.

Return the character offset for the given byte offset.

No documentation available

A recommended version for use with a ~> Requirement.

Keeps track of all currently known specifications

No documentation available

Issues a warning for each file to be packaged which is world-readable.

Implementation for Specification#validate_permissions

No documentation available

Smushes logically “consecutive” lines

source = <<~'EOM'
  User.
    where(name: 'schneems').
    first
EOM

lines = CleanDocument.new(source: source).join_consecutive!.lines
expect(lines[0].to_s).to eq(source)
expect(lines[1].to_s).to eq("")

The one known case this doesn’t handle is:

Ripper.lex <<~EOM
  a &&
   b ||
   c
EOM

For some reason this introduces ‘on_ignore_newline` but with BEG type

do nothing

do nothing

Protected setter for the user component, and password if available (with validation).

See also URI::Generic.userinfo=.

Protected setter for the user component v.

See also URI::Generic.user=.

Escapes ‘user:password’ v based on RFC 1738 section 3.1.

Protected setter for the opaque component v.

See also URI::Generic.opaque=.

Private setter for extensions val.

Search took: 5ms  ·  Total Results: 3731