method

<=>

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: NameTuple
<=>(other) public

No documentation

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

Hide source
# File lib/rubygems/name_tuple.rb, line 93
  def <=> other
    [@name, @version, @platform == Gem::Platform::RUBY ? -1 : 1] <=>
      [other.name, other.version,
       other.platform == Gem::Platform::RUBY ? -1 : 1]
  end
Register or log in to add new notes.