enum

Plombir::Template::Lexer::Kind

Inherits Enum < Comparable < Value < Object

The three shapes a layout is made of: literal HTML (Text) and the two delimited holes ({{ var }}, {% tag %}).

Constants

Text = 0
Variable = 1
Tag = 2

Instance methods

tag?

Returns true if this enum value equals Tag

Source
text?

Returns true if this enum value equals Text

Source
variable?

Returns true if this enum value equals Variable

Source