lib/rubocop/cop/layout/align_hash.rb in rubocop-0.60.0 vs lib/rubocop/cop/layout/align_hash.rb in rubocop-0.61.0

- old
+ new

@@ -180,17 +180,20 @@ MSG = 'Align the elements of a hash literal if they span more than ' \ 'one line.'.freeze def on_send(node) return if double_splat?(node) + return unless node.arguments? last_argument = node.last_argument return unless last_argument.hash_type? && ignore_hash_argument?(last_argument) ignore_node(last_argument) end + alias on_super on_send + alias on_yield on_send def on_hash(node) return if ignored_node?(node) return if node.pairs.empty? || node.single_line?