Flowdock
method

sorted

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: AvailableSet
sorted() public

No documentation

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

Hide source
# File lib/rubygems/available_set.rb, line 81
  def sorted
    @sorted ||= @set.sort do |a,b|
      i = b.spec <=> a.spec
      i != 0 ? i : (a.source <=> b.source)
    end
  end
Register or log in to add new notes.