class Liquid::Block::Assign

Defined in:

liquid/blocks/assign.cr

Constant Summary

ASSIGN = /\A(?<varname>#{VAR})\s*=\s*(?<value>.*)/

Constructors

Instance Method Summary

Instance methods inherited from class Liquid::Block::Node

<<(node : Node) <<, ==(other : self) ==, accept(visitor : Visitor) accept, children : Array(Liquid::Block::Node) children, inspect(io : IO) inspect, lstrip=(lstrip : Bool) lstrip=, lstrip? : Bool lstrip?, rstrip=(rstrip : Bool) rstrip=, rstrip? : Bool rstrip?

Constructor methods inherited from class Liquid::Block::Node

new(content : String) new

Constructor Detail

def self.new(varname : String, value : Liquid::Expression) #

[View source]
def self.new(content : String) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def value : Liquid::Expression #

[View source]
def varname : String #

[View source]