2007-12-21 08:48:59 +01:00
|
|
|
module ActionView
|
|
|
|
class TemplateHandler
|
2008-05-18 06:22:34 +02:00
|
|
|
|
2007-12-21 08:48:59 +01:00
|
|
|
def self.line_offset
|
|
|
|
0
|
|
|
|
end
|
|
|
|
|
2008-05-18 06:22:34 +02:00
|
|
|
def self.compilable?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
2007-12-21 08:48:59 +01:00
|
|
|
def initialize(view)
|
|
|
|
@view = view
|
|
|
|
end
|
|
|
|
|
2008-05-18 06:22:34 +02:00
|
|
|
def render(template)
|
2007-12-21 08:48:59 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
def compile(template)
|
|
|
|
end
|
2008-05-18 06:22:34 +02:00
|
|
|
|
|
|
|
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
|
2007-12-21 08:48:59 +01:00
|
|
|
end
|
|
|
|
end
|