Skip to content

Documentation


Documentation / @blazetrails/activesupport / Concern

Variable: Concern ​

const Concern: { [extended]: void; appendFeatures: boolean | void; classMethods: void; included: void; prepended: void; prependFeatures: boolean | void; }

Defined in: packages/activesupport/lib/concern.ts:43

Type Declaration ​

[extended]() ​

[extended](base): void

Parameters ​

ParameterType
baseConcernHost

Returns ​

void

appendFeatures() ​

appendFeatures(this, base): boolean | void

Parameters ​

ParameterType
thisConcernHost
baseConcernHost | AnyClass

Returns ​

boolean | void

classMethods() ​

classMethods(this, classMethodsModuleDefinition): void

Parameters ​

ParameterType
thisConcernHost
classMethodsModuleDefinition(mod) => void

Returns ​

void

included() ​

included(this, base?, block?): void

Parameters ​

ParameterTypeDefault value
thisobjectundefined
baseunknownnull
block?(this) => voidundefined

Returns ​

void

prepended() ​

prepended(this, base?, block?): void

Parameters ​

ParameterTypeDefault value
thisobjectundefined
baseunknownnull
block?(this) => voidundefined

Returns ​

void

prependFeatures() ​

prependFeatures(this, base): boolean | void

Parameters ​

ParameterType
thisConcernHost
baseConcernHost | AnyClass

Returns ​

boolean | void