enum Athena::Routing::CompiledRoute::Token::Type

Overview

Represents if a ART::CompiledRoute::Token is static text, or has a variable portion.

Defined in:

compiled_route.cr

Enum Members

TEXT = 0

Static text.

VARIABLE = 1

Variable data.

Instance Method Summary

Instance Method Detail

def text? #

Returns true if this enum value equals TEXT


[View source]
def variable? #

Returns true if this enum value equals VARIABLE


[View source]