method

sort_obj

ruby latest stable - Class: Bundler::RemoteSpecification

Method not available on this version

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

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