method

annotated_source_code

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: SyntaxErrorInTemplate
annotated_source_code() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/template/error.rb, line 149
    def annotated_source_code
      @offending_code_string.split("\n").map.with_index(1) { |line, index|
        indentation = " " * 4
        "#{index}:#{indentation}#{line}"
      }
    end
Register or log in to add new notes.