class method self.new

Ruby on Rails 6.0.6.1

Since v6.0.6.1 Last seen in v6.1.7.10

Available in: v6.0.6.1 v6.1.7.10

Signature

self.new(template, offending_code_string)

No documentation comment.

Parameters

template req
offending_code_string req
Source
# File actionview/lib/action_view/template/error.rb, line 138
    def initialize(template, offending_code_string)
      @offending_code_string = offending_code_string
      super(template)
    end

Defined in actionview/lib/action_view/template/error.rb line 138 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::SyntaxErrorInTemplate

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close