class ERBLint::Corrector

def corrections

def corrections
  @corrections ||= @offenses.map do |offense|
    offense.linter.autocorrect(@processed_source, offense) if offense.linter.class.support_autocorrect?
  end.compact
end

def corrector

def corrector
  BASE.new(@processed_source.source_buffer, corrections)
end

def diagnostics

def diagnostics
  []
end

def diagnostics

def diagnostics
  corrector.diagnostics
end

def initialize(processed_source, offenses)

def initialize(processed_source, offenses)
  @processed_source = processed_source
  @offenses = offenses
  @corrected_content = corrector.rewrite
end