Method: Gem::Source::Vendor#<=>

Defined in:
lib/rubygems/source/vendor.rb

#<=>(other) ⇒ Object



14
15
16
17
18
19
20
21
22
23
# File 'lib/rubygems/source/vendor.rb', line 14

def <=>(other)
  case other
  when Gem::Source::Lock then
    -1
  when Gem::Source::Vendor then
    0
  when Gem::Source then
    1
  end
end