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 193
193:     def generic(p)
194:       return p if p == Gem::Platform::RUBY
195: 
196:       GENERIC_CACHE[p] ||= begin
197:         found = GENERICS.find do |p2|
198:           p2.is_a?(Gem::Platform) && p.os == p2.os
199:         end
200:         found || Gem::Platform::RUBY
201:       end
202:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.