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, 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 : String #

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

[View source]