Method: RuboCop::Cop::Offense#highlighted_area
- Defined in:
- lib/rubocop/cop/offense.rb
permalink #highlighted_area ⇒ Parser::Source::Range
Returns the range of the code that is highlighted.
141 142 143 |
# File 'lib/rubocop/cop/offense.rb', line 141 def highlighted_area Parser::Source::Range.new(source_line, column, column + column_length) end |