Class: Liquid::BlockBody
- Inherits:
-
Object
- Object
- Liquid::BlockBody
- Defined in:
- lib/liquidum/liquid/liquid_template_extensions.rb
Instance Method Summary collapse
- #parse(tokenizer, parse_context, &block) ⇒ Object
- #parse_without_setting_parse_context ⇒ Object
- #registered_tags ⇒ Object
Instance Method Details
#parse(tokenizer, parse_context, &block) ⇒ Object
19 20 21 22 |
# File 'lib/liquidum/liquid/liquid_template_extensions.rb', line 19 def parse(tokenizer, parse_context, &block) @parse_context = parse_context parse_without_setting_parse_context(tokenizer, parse_context, &block) end |
#parse_without_setting_parse_context ⇒ Object
17 |
# File 'lib/liquidum/liquid/liquid_template_extensions.rb', line 17 alias parse_without_setting_parse_context parse |
#registered_tags ⇒ Object
24 25 26 27 28 29 30 31 32 |
# File 'lib/liquidum/liquid/liquid_template_extensions.rb', line 24 def = Template..dup if @parse_context..present? @parse_context..each do |tag| .delete(tag) end end end |