Class: Walrus::Grammar::SlurpDirective
- Inherits:
-
Directive
- Object
- Directive
- Walrus::Grammar::SlurpDirective
- Defined in:
- lib/walrus/grammar/slurp_directive.rb
Instance Method Summary collapse
-
#compile(options = {}) ⇒ Object
The slurp directive produces no meaningful output; but we leave a comment in the compiled template so that the location of the directive is visible in the source.
Instance Method Details
#compile(options = {}) ⇒ Object
The slurp directive produces no meaningful output; but we leave a comment in the compiled template so that the location of the directive is visible in the source.
31 32 33 |
# File 'lib/walrus/grammar/slurp_directive.rb', line 31 def compile = {} "# Slurp directive\n" end |