abstract class Maze::Router::Segment(T)

Direct Known Subclasses

Defined in:

maze/router/segment.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(segment : String) #

[View source]

Class Method Detail

def self.type_for(segment : String) #

[View source]

Instance Method Detail

def formatted_s(*, ts = 0) #

[View source]
def literal_match?(curious_segment : String) : Bool #

[View source]
def match?(curious_segment : String) : Bool #

[View source]
def parameter : String #

[View source]
def parametric? : Bool #

[View source]
def route_set : RouteSet(T) #

[View source]
def route_set=(route_set : RouteSet(T)) #

[View source]
def segment : String #

[View source]
def segment=(segment : String) #

[View source]