Skip to content

Documentation


Documentation / @blazetrails/actionpack / Journey / Format

Class: Format ​

Defined in: packages/actionpack/lib/action-dispatch/journey/visitors.ts:21

Constructors ​

Constructor ​

new Format(parts): Format

Defined in: packages/actionpack/lib/action-dispatch/journey/visitors.ts:34

Parameters ​

ParameterType
partsFormatPart[]

Returns ​

Format

Methods ​

evaluate() ​

evaluate(hash): string

Defined in: packages/actionpack/lib/action-dispatch/journey/visitors.ts:44

Parameters ​

ParameterType
hashRecord<string, unknown>

Returns ​

string


requiredPath() ​

static requiredPath(symbol): Parameter

Defined in: packages/actionpack/lib/action-dispatch/journey/visitors.ts:26

Parameters ​

ParameterType
symbolstring

Returns ​

Parameter


requiredSegment() ​

static requiredSegment(symbol): Parameter

Defined in: packages/actionpack/lib/action-dispatch/journey/visitors.ts:30

Parameters ​

ParameterType
symbolstring

Returns ​

Parameter