class
Noir::JSRoutePattern
- Noir::JSRoutePattern
- Reference
- Object
Overview
JSRoutePattern represents a JavaScript framework route pattern
Defined in:
miniparsers/js_parser.crConstructors
Instance Method Summary
- #method : String
- #params : Array(Param)
- #path : String
- #path=(path : String)
- #push_param(param : Param)
- #raw_path : String
- #start_pos : Int32
Constructor Detail
def self.new(method : String, path : String, raw_path : String | Nil = nil, start_pos : Int32 = -1)
#