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::Expression))
- .new(content : String)