In Files

  • rubygems/test_case.rb

Class/Module Index [+]

Quicksearch

Gem::TestCase::StaticSet

Public Class Methods

new(specs) click to toggle source
 
               # File 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 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 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 rubygems/test_case.rb, line 1051
def prefetch(reqs)
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus