Results for: "OptionParser"

No documentation available
No documentation available
No documentation available
No documentation available

A FetchError exception wraps up the various possible IO and HTTP failures that could happen while downloading from the internet.

A FetchError that indicates that the reason for not being able to fetch data was that the host could not be contacted

Raised when a bad requirement is encountered

The global rubygems pool, available via the rubygems.org API. Returns instances of APISpecification.

The BestSet chooses the best available method to query a remote index.

It combines IndexSet and APISet

Used internally to indicate that a dependency conflicted with a spec that would be activated.

A set which represents the installed gems. Respects all the normal settings that control where to look for installed gems.

A GitSet represents gems that are sourced from git repositories.

This is used for gem dependency file support.

Example:

set = Gem::Resolver::GitSet.new
set.add_git_gem 'rake', 'git://example/rake.git', tag: 'rake-10.1.0'

The global rubygems pool represented via the traditional source index.

A set of gems from a gem dependencies lockfile.

Resolver sets are used to look up specifications (and their dependencies) used in resolution. This set is abstract.

The SourceSet chooses the best available method to query a remote index.

Kind off like BestSet but filters the sources for gems

No documentation available
No documentation available
No documentation available

An absolutely silent progress reporter.

A basic dotted progress reporter.

An absolutely silent download reporter.

A progress reporter that behaves nicely with threaded downloading.

An absolutely silent IO.

Shows surrounding kw/end pairs

The purpose of showing these extra pairs is due to cases of ambiguity when only one visible line is matched.

For example:

1  class Dog
2    def bark
4    def eat
5    end
6  end

In this case either line 2 could be missing an ‘end` or line 4 was an extra line added by mistake (it happens).

When we detect the above problem it shows the issue as only being on line 2

2    def bark

Showing “neighbor” keyword pairs gives extra context:

2    def bark
4    def eat
5    end

Example:

lines = BeforeAfterKeywordEnds.new(
  block: block,
  code_lines: code_lines
).call()
Search took: 5ms  ·  Total Results: 5424