class RuboCop::AST::ProcessedSource
def line_with_comment?(line)
-
(Boolean)
- if the given line number has a comment.
def line_with_comment?(line) comment_index.include?(line) end
(Boolean)
- if the given line number has a comment.
def line_with_comment?(line) comment_index.include?(line) end