class method
self.new
Ruby on Rails 6.1.7.10
Since v6.0.6 Last seen in v6.1.7.10Available in: v6.0.6 v6.1.7.10
Signature
self.new(template, offending_code_string)
No documentation comment.
Parameters
-
templatereq -
offending_code_stringreq
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