class Marten::Routing::Rule::Path
- Marten::Routing::Rule::Path
- Marten::Routing::Rule::Base
- Reference
- Object
Defined in:
marten/routing/rule/path.crConstructors
Instance Method Summary
- #handler : Marten::Handlers::Base.class
- #name : String
- #path : Marten::Routing::TranslatedPath | String
- #resolve(path : String) : Match | Nil
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)
#