class RuboCop::Cop::Style::BlockComments
def eq_end_part(comment, expr)
def eq_end_part(comment, expr) if comment.text.chomp == comment.text range_between(expr.end_pos - END_LENGTH - 1, expr.end_pos - 2) else range_between(expr.end_pos - END_LENGTH, expr.end_pos) end end