Module: ActionView::Template::Handlers::Compilable
- Defined in:
- actionpack/lib/action_view/template/handler.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary (collapse)
Instance Method Summary (collapse)
Class Method Details
+ (Object) included(base)
9 10 11 12 13 |
# File 'actionpack/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 |
Instance Method Details
- (Object) compile(template)
21 22 23 |
# File 'actionpack/lib/action_view/template/handler.rb', line 21 def compile(template) raise "Need to implement #{self.class.name}#compile(template)" end |