struct

Noir::LocatorKeyNamespace

Inherits Struct < Value < Object

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.

Constructors

new(prefix : String, lifecycle : LocatorKey::Lifecycle, owner : String)
Source

Instance methods

key(*parts : String) : LocatorKey(Array(String))
Source
lifecycle
Source
matches?(name : String) : Bool
Source
owner
Source
prefix
Source