method
sort_obj
v2_6_3 -
Show latest stable
- Class:
Bundler::RemoteSpecification
sort_obj()public
Create a delegate used for sorting. This strategy is copied from RubyGems 2.23 and ensures that Bundler’s specifications can be compared and sorted with RubyGems’ own specifications.
@see #<=> @see Gem::Specification#sort_obj
@return [Array] an object you can use to compare and sort this
specification against other specifications