Module: ActionView::Template::Handlers::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


9
10
11
# File 'lib/action_view/template/handler.rb', line 9

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

Instance Method Details

#compile(template) ⇒ Object


19
20
21
# File 'lib/action_view/template/handler.rb', line 19

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