Method: Rubocop::Cop::Corrector#replace
- Defined in:
- lib/rubocop/cop/corrector.rb
#replace(range, content) ⇒ Object
Replaces the code of the source range range with content.
79 80 81 |
# File 'lib/rubocop/cop/corrector.rb', line 79 def replace(range, content) @source_rewriter.replace(range, content) end |