# File rubygems/bundler_version_finder.rb, line 3defself.bundler_versionv = ENV["BUNDLER_VERSION"]
v||=bundle_update_bundler_versionreturnifv==truev||=lockfile_versionreturnunlessvGem::Version.new(v)
end
prioritize!(specs)click to toggle source
# File rubygems/bundler_version_finder.rb, line 15defself.prioritize!(specs)
exact_match_index = specs.find_index {|spec|spec.version==bundler_version }
returnunlessexact_match_indexspecs.unshift(specs.delete_at(exact_match_index))
end
This page was generated for Ruby 3.1.2
Generated with Ruby-doc Rdoc Generator 0.42.0.
There is an updated format of the API docs for this version here.