class Liquid::Block::ElsIf

Defined in:

liquid/blocks/elsif.cr

Constant Summary

SIMPLE_EXP = /^\s*elsif (?<expr>.+)\s*$/

Constructors

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

[View source]
def self.new(if_expression : Liquid::Block::Expression) #

[View source]

Instance Method Detail

def eval(data) #

[View source]
def if_expression : Liquid::Block::Expression #

[View source]