Parent

Class/Module Index [+]

Quicksearch

ActionView::Template::ActionView::Template::Template::Handler

Public Class Methods

call(template) click to toggle source
# File lib/action_view/template/handler.rb, line 37
def self.call(template)
  raise "Need to implement #{self.class.name}#call(template)"
end
inherited(base) click to toggle source
# File 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

Public Instance Methods

render(template, local_assigns) click to toggle source
# File lib/action_view/template/handler.rb, line 41
def render(template, local_assigns)
  raise "Need to implement #{self.class.name}#render(template, local_assigns)"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.