method

<=>

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

No documentation

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

Hide source
# File lib/rubygems/source/git.rb, line 66
  def <=> other
    case other
    when Gem::Source::Git then
      0
    when Gem::Source::Vendor,
         Gem::Source::Lock then
      -1
    when Gem::Source then
      1
    else
      nil
    end
  end
Register or log in to add new notes.