lib/rubocop/cop/mixin/def_node.rb in rubocop-0.50.0 vs lib/rubocop/cop/mixin/def_node.rb in rubocop-0.51.0

- old
+ new

@@ -18,10 +18,10 @@ NON_PUBLIC_MODIFIERS.include?(line) end end def_node_matcher :non_public_modifier?, <<-PATTERN - (send nil {:private :protected} ({def defs} ...)) + (send nil? {:private :protected} ({def defs} ...)) PATTERN end end end