Class: ActionView::TemplateHandler
- Inherits:
-
Object
- Object
- ActionView::TemplateHandler
show all
- Defined in:
- lib/action_view/template_handler.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of TemplateHandler.
12
13
14
|
# File 'lib/action_view/template_handler.rb', line 12
def initialize(view)
@view = view
end
|
Class Method Details
.compilable? ⇒ Boolean
8
9
10
|
# File 'lib/action_view/template_handler.rb', line 8
def self.compilable?
false
end
|
.line_offset ⇒ Object
4
5
6
|
# File 'lib/action_view/template_handler.rb', line 4
def self.line_offset
0
end
|
Instance Method Details
#cache_fragment(block, name = {}, options = nil) ⇒ Object
Called by CacheHelper#cache
31
32
|
# File 'lib/action_view/template_handler.rb', line 31
def cache_fragment(block, name = {}, options = nil)
end
|
#compilable? ⇒ Boolean
22
23
24
|
# File 'lib/action_view/template_handler.rb', line 22
def compilable?
self.class.compilable?
end
|
#compile(template) ⇒ Object
19
20
|
# File 'lib/action_view/template_handler.rb', line 19
def compile(template)
end
|
#line_offset ⇒ Object
26
27
28
|
# File 'lib/action_view/template_handler.rb', line 26
def line_offset
self.class.line_offset
end
|
#render(template) ⇒ Object
16
17
|
# File 'lib/action_view/template_handler.rb', line 16
def render(template)
end
|