class method
self.inherited
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.1.12Signature
self.inherited(base)
No documentation comment.
Parameters
-
basereq
Source
# File actionpack/lib/action_view/template/handler.rb, line 31
def self.inherited(base)
ActiveSupport::Deprecation.warn "Inheriting from ActionView::Template::Handler is deprecated. " <<
"Since Rails 3, all the API your template handler needs to implement is to respond to #call."
super
end
Defined in actionpack/lib/action_view/template/handler.rb line 31
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::Template::Handler