Results for: "to_proc"

Gems higher up in gem_path take precedence

No documentation available
No documentation available

Performs various checks before installing the gem such as the install repository is writable and its directories exist, required Ruby and rubygems versions are met and that dependencies are installed.

Version and dependency checks are skipped if this install is forced.

The dependent check will be skipped if the install is ignoring dependencies.

Installs from the gem dependencies files in the :gemdeps option in options, yielding to the block as in install.

If :without_groups is given in the options, those groups in the gem dependencies file are not used. See Gem::Installer for other options.

Extra files to add to RDoc such as README or doc/examples.txt

When the user elects to generate the RDoc documentation for a gem (typically at install time), all the library files are sent to RDoc for processing. This option allows you to have some non-code files included for a more complete set of documentation.

Usage:

spec.extra_rdoc_files = ['README', 'doc/user-guide.txt']

Sets extra_rdoc_files to files, ensuring it is an array.

No documentation available
No documentation available

Choose from a list of options. question is a prompt displayed above the list. list is a list of option strings. Returns the pair [option_name, option_index].

No documentation available
No documentation available

Keeps track of what lines have been added to blocks and which are not yet visited.

When one element fully encapsulates another we remove the smaller block from the frontier. This prevents double expansions and all-around weird behavior. However this guarantee is quite expensive to maintain

Given that we know our syntax error exists somewhere in our frontier, we want to find the smallest possible set of blocks that contain all the syntax errors

Builds blocks from bottom up

Comes from ripper, called on every parse error, msg is a string

No documentation available
No documentation available
No documentation available

Invoked by Ruby’s core methods to run a blocking operation in a non-blocking way.

Minimal suggested implementation is:

def blocking_operation_wait(work)
  Thread.new(&work).join
end

offline mode. read name=value pairs on standard input.

No documentation available
No documentation available

A convenience method, like object_group, but also reformats the Object’s object_id.

Search took: 5ms  ·  Total Results: 2407