End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Source::Git#<=>
<=>(other)
lib/rubygems/source/git.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/rubygems/source/git.rb, line 64
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
No documentation available