lib/rubocop/cop/style/and_or.rb in rubocop-0.52.1 vs lib/rubocop/cop/style/and_or.rb in rubocop-0.53.0
- old
+ new
@@ -36,9 +36,10 @@
# # good
# if foo && bar
# end
class AndOr < Cop
include ConfigurableEnforcedStyle
+ include RangeHelp
MSG = 'Use `%<prefer>s` instead of `%<current>s`.'.freeze
def on_and(node)
process_logical_operator(node) if style == :always