Methods

Class Index [+]

Quicksearch

Bundler::GemHelpers

Constants

GENERIC_CACHE
GENERICS

Public Instance Methods

generic(p) click to toggle source
    # File lib/bundler/gem_helpers.rb, line 12
12:     def generic(p)
13:       return p if p == Gem::Platform::RUBY
14: 
15:       GENERIC_CACHE[p] ||= begin
16:         found = GENERICS.find do |p2|
17:           p2.is_a?(Gem::Platform) && p.os == p2.os
18:         end
19:         found || Gem::Platform::RUBY
20:       end
21:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.