Exception: ActionView::StrictLocalsError
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
ArgumentError
|
|
Instance Chain:
self,
ArgumentError
|
|
Inherits: |
ArgumentError
|
Defined in: | actionview/lib/action_view/template/error.rb |
Class Method Summary
Constructor Details
.new(argument_error, template) ⇒ StrictLocalsError
# File 'actionview/lib/action_view/template/error.rb', line 31
def initialize(argument_error, template) = argument_error. . gsub("unknown keyword:", "unknown local:"). gsub("missing keyword:", "missing local:"). gsub("no keywords accepted", "no locals accepted"). concat(" for #{template.short_identifier}") super( ) end