Methods

Class Index [+]

Quicksearch

Bundler::GemHelpers

Constants

GENERIC_CACHE
GENERICS

Public Instance Methods

generic(p) click to toggle source
     # File lib/bundler/rubygems_ext.rb, line 207
207:     def generic(p)
208:       return p if p == Gem::Platform::RUBY
209: 
210:       GENERIC_CACHE[p] ||= begin
211:         found = GENERICS.find do |p2|
212:           p2.is_a?(Gem::Platform) && p.os == p2.os
213:         end
214:         found || Gem::Platform::RUBY
215:       end
216:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.