class RuboCop::AST::ProcessedSource

def comment_at_line(line)

Returns:
  • (Comment, nil) - the comment at that line, if any.
def comment_at_line(line)
  comment_index[line]
end