class Gem::TestCase::StaticSet

Public Class Methods

new(specs) click to toggle source
# File lib/rubygems/test_case.rb, line 1037
def initialize(specs)
  @specs = specs.sort_by { |s| s.full_name }
end

Public Instance Methods

find_all(dep) click to toggle source
# File lib/rubygems/test_case.rb, line 1047
def find_all(dep)
  @specs.find_all { |s| dep.matches_spec? s }
end
find_spec(dep) click to toggle source
# File lib/rubygems/test_case.rb, line 1041
def find_spec(dep)
  @specs.reverse_each do |s|
    return s if dep.matches_spec? s
  end
end
prefetch(reqs) click to toggle source
# File lib/rubygems/test_case.rb, line 1051
def prefetch(reqs)
end