lib/rubocop/cop/style/and_or.rb in rubocop-0.68.1 vs lib/rubocop/cop/style/and_or.rb in rubocop-0.69.0
- old
+ new
@@ -38,10 +38,10 @@
# end
class AndOr < Cop
include ConfigurableEnforcedStyle
include RangeHelp
- MSG = 'Use `%<prefer>s` instead of `%<current>s`.'.freeze
+ MSG = 'Use `%<prefer>s` instead of `%<current>s`.'
def on_and(node)
process_logical_operator(node) if style == :always
end
alias on_or on_and