method

annotated_source_code

annotated_source_code()
public

No documentation available.

# File actionview/lib/action_view/template/error.rb, line 257
    def annotated_source_code
      @offending_code_string.split("\n").map.with_index(1) { |line, index|
        indentation = " " * 4
        "#{index}:#{indentation}#{line}"
      }
    end