class method
self.new
Ruby on Rails 6.1.7.10
Since v6.1.7.10 Last seen in v6.1.7.10Signature
self.new(error)
No documentation comment.
Parameters
-
errorreq
Source
# File actionpack/lib/abstract_controller/base.rb, line 20
def initialize(error)
@error = error
end
Defined in actionpack/lib/abstract_controller/base.rb line 20
· View on GitHub
· Improve this page
· Find usages on GitHub