class RuboCop::Cop::Layout::ClosingHeredocIndentation

def on_heredoc(node)

def on_heredoc(node)
  return if heredoc_type(node) == SIMPLE_HEREDOC ||
            opening_indentation(node) == closing_indentation(node) ||
            argument_indentation_correct?(node)
  add_offense(node, location: :heredoc_end)
end