1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_view/template_handler.rb
2008-03-03 04:01:35 +00:00

34 lines
477 B
Ruby

module ActionView
class TemplateHandler
def self.line_offset
0
end
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
def line_offset
self.class.line_offset
end
# Called by CacheHelper#cache
def cache_fragment(block, name = {}, options = nil)
end
end
end