method

formatted_code_for

formatted_code_for(source_code, line_counter, indent)
private

No documentation available.

# File actionview/lib/action_view/template/error.rb, line 233
        def formatted_code_for(source_code, line_counter, indent)
          indent_template = "%#{indent}s: %s"
          source_code.map do |line|
            line_counter += 1
            indent_template % [line_counter, line]
          end
        end