Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
lucky_router
v0.6.0
LuckerRouter
PathReader
LuckyRouter
DuplicateRouteError
Fragment
InvalidGlobError
InvalidPathError
LuckyRouterError
Match
Matcher
NoMatch
PathNormalizer
PathPart
Generated using Crystal 1.11.2
2024-11-02 08:53:38 UTC
struct
LuckyRouter::
Match(T)
LuckyRouter::Match(T)
Struct
Value
Object
Defined in:
lucky_router/match.cr
Constructors
.new
(payload : T, params : Hash(String, String))
Instance Method Summary
#params
: Hash(String, String)
#payload
: T
Constructor Detail
def self.
new
(payload : T, params : Hash(String, String))
#
[
View source
]
Instance Method Detail
def
params
: Hash(String, String)
#
[
View source
]
def
payload
: T
#
[
View source
]