Module: ActionView::TemplateHandlers::Compilable

Included in:
Builder, ERB, RJS
Defined in:
lib/action_view/template_handler.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/action_view/template_handler.rb', line 5

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#compile(template) ⇒ Object



15
16
17
# File 'lib/action_view/template_handler.rb', line 15

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