Class: ActionView::TemplateHandler
- Defined in:
- lib/action_view/template_handler.rb
Direct Known Subclasses
ActionView::TemplateHandlers::Builder, ActionView::TemplateHandlers::ERB, ActionView::TemplateHandlers::RJS
Class Method Summary collapse
Instance Method Summary collapse
- #compile(template) ⇒ Object
-
#initialize(view) ⇒ TemplateHandler
constructor
A new instance of TemplateHandler.
- #render(template, local_assigns) ⇒ Object
Constructor Details
#initialize(view) ⇒ TemplateHandler
Returns a new instance of TemplateHandler.
7 8 9 |
# File 'lib/action_view/template_handler.rb', line 7 def initialize(view) @view = view end |
Class Method Details
.line_offset ⇒ Object
3 4 5 |
# File 'lib/action_view/template_handler.rb', line 3 def self.line_offset 0 end |