class Liquid::Block::Include
Defined in:
liquid/blocks/include.crConstant Summary
-
INCLUDE =
/^include(\s+)(?<template_name>#{STRING})(\s+with\s+(?<value>#{TYPE_OR_VAR}))?/
-
INCLUDE_VARS =
/\s*\,\s*(?<varname>#{VAR})\s*\:\s*(?<value>#{TYPE_OR_VAR})/
Constructors
- .new(template_name : String, template_vars : Hash(String, Liquid::Block::Expression))
- .new(content : String)
Instance Method Summary
Class methods inherited from class Liquid::Block::InlineBlock
type : BlockType
type
Instance methods inherited from class Liquid::Block::Node
<<(node : Node)
<<,
==(other : self)
==,
accept(visitor : Visitor)
accept,
children : Array(Liquid::Block::Node)
children
Constructor methods inherited from class Liquid::Block::Node
new(content : String)
new
Constructor Detail
def self.new(template_name : String, template_vars : Hash(String, Liquid::Block::Expression))
#