lib/rubocop/cop/layout/class_structure.rb in rubocop-0.72.0 vs lib/rubocop/cop/layout/class_structure.rb in rubocop-0.73.0
- old
+ new
@@ -140,10 +140,10 @@
VISIBILITY_SCOPES = %i[private protected public].freeze
MSG = '`%<category>s` is supposed to appear before ' \
'`%<previous>s`.'
- def_node_matcher :visibility_block?, <<-PATTERN
+ def_node_matcher :visibility_block?, <<~PATTERN
(send nil? { :private :protected :public })
PATTERN
# Validates code style on class declaration.
# Add offense when find a node out of expected order.