class Marten::Routing::Rule::Map

Defined in:

marten/routing/rule/map.cr

Constructors

Instance Method Summary

Instance methods inherited from class Marten::Routing::Rule::Base

name name, resolve(path : String) : Nil | Match resolve

Constructor Detail

def self.new(path : String | TranslatedPath, map : Marten::Routing::Map, name : String) #

[View source]

Instance Method Detail


[View source]
def name : String #

[View source]
def path : Marten::Routing::TranslatedPath | String #

[View source]
def resolve(path : String) : Nil | Match #

[View source]