method

_resort!

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: Specification
_resort!(specs) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/specification.rb, line 745
  def self._resort!(specs) # :nodoc:
    specs.sort! { |a, b|
      names = a.name <=> b.name
      next names if names.nonzero?
      b.version <=> a.version
    }
  end
Register or log in to add new notes.