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

Direct Known Subclasses

Defined in:

amber_router/segment.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(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]