Class: ActionView::Template::Handler

Inherits:
Object
  • Object
show all
Defined in:
lib/action_view/template/handler.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.call(template) ⇒ Object



29
30
31
# File 'lib/action_view/template/handler.rb', line 29

def self.call(template)
  raise "Need to implement #{self.class.name}#call(template)"
end

Instance Method Details

#render(template, local_assigns) ⇒ Object



33
34
35
# File 'lib/action_view/template/handler.rb', line 33

def render(template, local_assigns)
  raise "Need to implement #{self.class.name}#render(template, local_assigns)"
end