instance method
Gem::Source::Git#<=>
<=>(other)
lib/rubygems/source/git.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/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