method
message
v8.1.1 -
Show latest stable
- Class:
ActionView::SyntaxErrorInTemplate
message()public
No documentation available.
# File actionview/lib/action_view/template/error.rb, line 262
def message
if template.is_a?(Template::Inline)
<<~MESSAGE
Encountered a syntax error while rendering template: check #{@offending_code_string}
MESSAGE
else
"Encountered a syntax error while rendering template located at: #{template.short_identifier}"
end
end