rails/actionpack/lib/action_view/template_handler.rb

26 lines
376 B
Ruby
Raw Normal View History

module ActionView
class TemplateHandler
def self.compilable?
false
end
def initialize(view)
@view = view
end
def render(template)
end
def compile(template)
end
def compilable?
self.class.compilable?
end
# Called by CacheHelper#cache
def cache_fragment(block, name = {}, options = nil)
end
end
end