class Marten::Routing::Rule::Path

Defined in:

marten/routing/rule/path.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, handler : Marten::Handlers::Base.class, name : String) #

[View source]

Instance Method Detail

def handler : Marten::Handlers::Base.class #

[View source]
def name : String #

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

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

[View source]