Class: Sablon::Processor::Document::CommentHandler
- Inherits:
-
FieldHandler
- Object
- FieldHandler
- Sablon::Processor::Document::CommentHandler
- Defined in:
- lib/sablon/processor/document/field_handlers.rb
Overview
Handles comment blocks in the template
Instance Method Summary collapse
- #build_statement(constructor, _field, _options = {}) ⇒ Object
-
#initialize ⇒ CommentHandler
constructor
A new instance of CommentHandler.
Methods inherited from FieldHandler
Constructor Details
#initialize ⇒ CommentHandler
Returns a new instance of CommentHandler.
106 107 108 |
# File 'lib/sablon/processor/document/field_handlers.rb', line 106 def initialize super(/^comment$/) end |