Results for: "minmax"

No documentation available
No documentation available

Load extra data embed into binary format String object.

No documentation available

Used to detect if the gem is bundled in older version of Ruby, but not detectable as default gem (see BasicSpecification#default_gem?).

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

Unwinds the states stack because a conflict has been encountered @return [void]

@return [ResolutionState] the state whose ‘requirement` is the given

`requirement`.
No documentation available

Finds a spec and the source_uri it came from for gem gem_name and version. Returns an Array of specs and sources required for installation of the gem.

No documentation available
No documentation available

Returns an array of two elements: the filename where the calling method is located, and the line number where it is defined.

Takes an optional argument i, which specifies how many callers up the stack to look.

Examples:

require 'rss/utils'

def foo
  p RSS::Utils.get_file_and_line_from_caller
  p RSS::Utils.get_file_and_line_from_caller(1)
end

def bar
  foo
end

def baz
  bar
end

baz
# => ["test.rb", 5]
# => ["test.rb", 9]

If i is not given, or is the default value of 0, it attempts to figure out the correct value. This is useful when in combination with instance_eval. For example:

require 'rss/utils'

def foo
  p RSS::Utils.get_file_and_line_from_caller(1)
end

def bar
  foo
end

instance_eval <<-RUBY, *RSS::Utils.get_file_and_line_from_caller
def baz
  bar
end
RUBY

baz

# => ["test.rb", 8]
No documentation available

@return [Object] the requirement that led to a version of a possibility

with the given name being activated.

@return [String] the name of the source of ‘locked’ dependencies, i.e.

those passed to {Resolver#resolve} directly as the `base`
No documentation available

Attempts to activate the current {#possibility} (given that it has already been activated) @return [void]

No documentation available
Search took: 3ms  ·  Total Results: 1824