class LuckyRouter::MatchFinder(T)
- LuckyRouter::MatchFinder(T)
- Reference
- Object
Defined in:
lucky_router/match_finder.crConstructors
Instance Method Summary
-
#run : Match(T) | NoMatch
This looks for a matching fragment for the given parts and returns NoMatch if one is not found
Constructor Detail
def self.new(fragment : LuckyRouter::Fragment(T), parts : Array(String), params : Hash(String, String) = {} of String => String)
#
Instance Method Detail
This looks for a matching fragment for the given parts and returns NoMatch if one is not found