Class/Module Index [+]

Quicksearch

ActionView::Template::Handlers::Compilable

Public Class Methods

included(base) click to toggle source
# File lib/action_view/template/handler.rb, line 9
def self.included(base)
  ActiveSupport::Deprecation.warn "Including Compilable in your template handler is deprecated. " <<
    "Since Rails 3, all the API your template handler needs to implement is to respond to #call."
  base.extend(ClassMethods)
end

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.