lib/rubocop/cop/layout/end_alignment.rb in rubocop-1.20.0 vs lib/rubocop/cop/layout/end_alignment.rb in rubocop-1.21.0

- old
+ new

@@ -180,10 +180,10 @@ end end def assignment_or_operator_method(node) node.ancestors.find do |ancestor| - ancestor.assignment_or_similar? || ancestor.send_type? && ancestor.operator_method? + ancestor.assignment_or_similar? || (ancestor.send_type? && ancestor.operator_method?) end end end end end