struct
Noir::LocatorKeyNamespace
- Noir::LocatorKeyNamespace
- Struct
- Value
- Object
Overview
A family of keys minted at runtime under one declared prefix
(<prefix>:<file> / <prefix>:<file>:<function>). Declared once; the
minted keys inherit its lifecycle and are cleared by prefix.
Exists for the Express router-prefix keys, which are the one family whose names are not knowable ahead of time — and which, under a string-constants design, would have stayed invisible to any enforcement.
Defined in:
models/locator_key.crConstructors
Instance Method Summary
- #key(*parts : String) : LocatorKey(Array(String))
- #lifecycle : LocatorKey::Lifecycle
- #matches?(name : String) : Bool
- #owner : String
- #prefix : String