2007-12-09 17:11:11 -05:00
|
|
|
module ActionView
|
|
|
|
class TemplateHandler
|
2007-12-10 18:14:47 -05:00
|
|
|
def self.line_offset
|
|
|
|
0
|
|
|
|
end
|
|
|
|
|
2008-01-10 23:45:06 -05:00
|
|
|
def self.compilable?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
2007-12-09 17:11:11 -05:00
|
|
|
def initialize(view)
|
|
|
|
@view = view
|
|
|
|
end
|
|
|
|
|
2008-03-02 23:01:35 -05:00
|
|
|
def render(template)
|
2007-12-09 17:11:11 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def compile(template)
|
|
|
|
end
|
2008-01-09 22:17:20 -05:00
|
|
|
|
2008-01-10 23:45:06 -05:00
|
|
|
def compilable?
|
|
|
|
self.class.compilable?
|
|
|
|
end
|
|
|
|
|
|
|
|
def line_offset
|
|
|
|
self.class.line_offset
|
|
|
|
end
|
|
|
|
|
2008-01-09 22:17:20 -05:00
|
|
|
# Called by CacheHelper#cache
|
|
|
|
def cache_fragment(block, name = {}, options = nil)
|
|
|
|
end
|
2007-12-09 17:11:11 -05:00
|
|
|
end
|
|
|
|
end
|