method
formatted_versions_with_platforms
v2_6_3 -
Show latest stable
- Class:
Bundler::Resolver
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