postmodern
- 10mo ·
-
Public·
-
ruby.social
Definitely think this is a bug in rubocop.
Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
case other ...
Occurs in this code:
def ===(other)
case other
when IPRange
@range === other.range
else
@range === other
end
end