diff options
Diffstat (limited to 'lib/rubygems/source/lock.rb')
-rw-r--r-- | lib/rubygems/source/lock.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/source/lock.rb b/lib/rubygems/source/lock.rb index 49f097467b..ff71b8cf1d 100644 --- a/lib/rubygems/source/lock.rb +++ b/lib/rubygems/source/lock.rb @@ -30,7 +30,7 @@ class Gem::Source::Lock < Gem::Source end def ==(other) # :nodoc: - 0 == (self <=> other) + (self <=> other) == 0 end def hash # :nodoc: |