Results for: "minmax"

def forced_us_ascii_encoding?: () -> bool

def forced_us_ascii_encoding?: () -> bool

No documentation available
No documentation available

returns match status of CSI/SS3 sequence and matched length

No documentation available
Editline

vi-kill-line-prev (vi: Ctrl-U) Delete the string from the beginning of the edit buffer to the cursor and save it to the cut buffer.

GNU Readline

unix-line-discard (C-u) Kill backward from the cursor to the beginning of the current line.

No documentation available
No documentation available
No documentation available

Invoke the command with the given list of normal arguments and additional build arguments.

Adds a section with title and content to the parser help view. Used for adding command arguments and default arguments.

Writes the file containing the arguments for building this gem’s extensions.

No documentation available

Returns every spec that matches name and optional requirements.

Find the best specification matching a full_name.

@return [Array] specs of default gems that are ‘==` to the given `spec`.

No documentation available

Scanning is intentionally conservative because we have no way of rolling back an aggressive block (at this time)

If a block was stopped for some trivial reason, (like an empty line) but the next line would have caused it to be balanced then we can check that condition and grab just one more line either up or down.

For example, below if we’re scanning up, line 2 might cause the scanning to stop. This is because empty lines might denote logical breaks where the user intended to chunk code which is a good place to stop and check validity. Unfortunately it also means we might have a “dangling” keyword or end.

1 def bark
2
3 end

If lines 2 and 3 are in the block, then when this method is run it would see it is unbalanced, but that acquiring line 1 would make it balanced, so that’s what it does.

Returns true if the document is valid with all lines removed. By default it checks all blocks in present in the frontier array, but can be used for arbitrary arrays of codeblocks as well

Not stable API

Lines that have a ‘on_ignored_nl` type token and NOT a `BEG` type seem to be a good proxy for the ability to join multiple lines into one.

This predicate method is used to determine when those two criteria have been met.

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

Add the install/update options to the option parser.

Default description for the gem install and update commands.

Globs for files matching pattern inside of directory, returning absolute paths to the matching files.

Corrects path (usually returned by ‘Gem::URI.parse().path` on Windows), that comes with a leading slash.

Search took: 8ms  ·  Total Results: 2365