method

formatted_versions_with_platforms

ruby latest stable - Class: Bundler::Resolver

Method not available on this version

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

formatted_versions_with_platforms(versions_with_platforms)
private

No documentation available.

# File lib/bundler/resolver.rb, line 291
    def formatted_versions_with_platforms(versions_with_platforms)
      version_platform_strs = versions_with_platforms.map do |vwp|
        version = vwp.first
        platform = vwp.last
        version_platform_str = String.new(version.to_s)
        version_platform_str << " #{platform}" unless platform.nil? || platform == Gem::Platform::RUBY
        version_platform_str
      end
      version_platform_strs.join(", ")
    end