Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
Bundler
/
GemVersionPromoter
/
//opt/ruby-2.6/usr/share/ri/2.6.0/system/Bundler/GemVersionPromoter/sort_versions-i.ri
U:RDoc::AnyMethod[iI"sort_versions:ETI".Bundler::GemVersionPromoter#sort_versions;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"OGiven a Dependency and an Array of SpecGroups of available versions for a ;TI"Ogem, this method will return the Array of SpecGroups sorted (and possibly ;TI"Ptruncated if strict is true) in an order to give preference to the current ;TI"Plevel (:major, :minor or :patch) when resolution is deciding what versions ;TI"2best resolve all dependencies in the bundle. ;TI"8@param dep [Dependency] The Dependency of the gem. ;TI"K@param spec_groups [SpecGroup] An array of SpecGroups for the same gem;To:RDoc::Markup::Verbatim; [I"named in the @dep param. ;T:@format0o; ; [I"I@return [SpecGroup] A new instance of the SpecGroup Array sorted and;To;; [I"possibly filtered.;T;0: @fileI"(lib/bundler/gem_version_promoter.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(dep, spec_groups);T@FI"GemVersionPromoter;TcRDoc::NormalClass00