method

matching_paths

ruby latest stable - Class: Gem::GemPathSearcher

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

matching_paths(spec, path)
public

No documentation available.

# File lib/rubygems/gem_path_searcher.rb, line 120
  def matching_paths(spec, path)
    trails = []

    spec.traverse do |from_spec, dep, to_spec, trail|
      next unless to_spec.conflicts.empty?
      trails << trail unless matching_files(to_spec, path).empty?
    end

    trails
  end