class Liquid::Block::If
Defined in:
liquid/blocks/if.crConstant Summary
-
SIMPLE_EXP =
/^\s*if (?<expr>.+)\s*$/
Constructors
Instance Method Summary
- #<<(node : ElsIf)
- #<<(node : Else)
- #<<(node : Node)
-
#==(other : self)
Returns
true
if this reference is the same as other. - #else : Liquid::Block::Else?
- #elsif : Array(Liquid::Block::ElsIf)?
- #if_expression : Liquid::Block::Expression?
Class methods inherited from class Liquid::Block::BeginBlock
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
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.