class RuboCop::Cop::Layout::ClosingHeredocIndentation

def find_node_used_heredoc_argument(node)

def find_node_used_heredoc_argument(node)
  if node.parent && node.parent.send_type?
    find_node_used_heredoc_argument(node.parent)
  else
    node
  end
end