Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Gem::Source::Git#<=>
<=>(other)
lib/rubygems/source/git.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/source/git.rb, line 63
def <=>(other)
case other
when Gem::Source::Git then
0
when Gem::Source::Vendor,
Gem::Source::Lock then
-1
when Gem::Source then
1
end
end
No documentation available