class

Liquid::Block::Include

Inherits Liquid::Block::InlineBlock / Liquid::Block::Node / Reference / Object

Constants

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

Instance methods

template_name
Source
template_vars
Source