diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:38:45 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | d8c5fa963fbf34d10599fff571f87c36410dab13 (patch) | |
tree | 924ae2807b0cecfa114cab4f435df1fd4e4e3533 /lib/rubygems/source/lock.rb | |
parent | 66bd2c1a1cea53dec4cf2d9e625ac01d3418863e (diff) |
[rubygems/rubygems] util/rubocop -A --only Style/YodaCondition
https://github.com/rubygems/rubygems/commit/3594945391
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: |