method

select_best_platform_match

ruby latest stable - Class: Bundler::GemHelpers

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

select_best_platform_match(specs, platform)
private

No documentation available.

# File lib/bundler/gem_helpers.rb, line 46
    def select_best_platform_match(specs, platform)
      specs.select {|spec| spec.match_platform(platform) }.
        min_by {|spec| platform_specificity_match(spec.platform, platform) }
    end