Documentation / @blazetrails/activemodel / AttributeMethods / InstanceMethodsHost
Interface: InstanceMethodsHost
Defined in: packages/activemodel/lib/attribute-methods.ts:149
Extends
InstanceHost.Included<typeofAttributeMethods>
Properties
_attributes?
optional_attributes?: {isKey:boolean; }
Defined in: packages/activemodel/lib/attribute-methods.ts:143
isKey()
isKey(
name):boolean
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
boolean
Inherited from
attributeMethodPatterns?
optionalattributeMethodPatterns?:AttributeMethodPattern[]
Defined in: packages/activemodel/lib/attribute-methods.ts:145
Inherited from
InstanceHost.attributeMethodPatterns
attributes
attributes:
Record<string,unknown>
Defined in: packages/activemodel/lib/attribute-methods.ts:144
Inherited from
constructor
constructor:
ClassMethodsHost
Defined in: packages/activemodel/lib/attribute-methods.ts:150
Overrides
Methods
_readAttribute()
_readAttribute(...
args):unknown
Defined in: packages/activemodel/lib/attribute-methods.ts:571
Parameters
| Parameter | Type |
|---|---|
...args | [string] |
Returns
unknown
Inherited from
Included._readAttribute
attributeMissing()
attributeMissing(...
args):unknown
Defined in: packages/activemodel/lib/attribute-methods.ts:522
Parameters
| Parameter | Type |
|---|---|
...args | [AttributeMethod, ...args: unknown[]] |
Returns
unknown
Inherited from
Included.attributeMissing
isAttributeMethod()
isAttributeMethod(...
args):boolean
Defined in: packages/activemodel/lib/attribute-methods.ts:551
Parameters
| Parameter | Type |
|---|---|
...args | [string] |
Returns
boolean
Inherited from
Included.isAttributeMethod
isRespondTo()
isRespondTo(...
args):boolean
Defined in: packages/activemodel/lib/attribute-methods.ts:538
Parameters
| Parameter | Type |
|---|---|
...args | [string, boolean] |
Returns
boolean
Inherited from
Included.isRespondTo
isRespondToWithoutAttributes()
isRespondToWithoutAttributes(...
args):boolean
Defined in: packages/activemodel/lib/attribute-methods.ts:530
Parameters
| Parameter | Type |
|---|---|
...args | [string, boolean] |
Returns
boolean
Inherited from
Included.isRespondToWithoutAttributes
matchedAttributeMethod()
matchedAttributeMethod(...
args):AttributeMethod|null
Defined in: packages/activemodel/lib/attribute-methods.ts:556
Parameters
| Parameter | Type |
|---|---|
...args | [string] |
Returns
AttributeMethod | null
Inherited from
Included.matchedAttributeMethod
methodMissing()
methodMissing(...
args):unknown
Defined in: packages/activemodel/lib/attribute-methods.ts:508
Parameters
| Parameter | Type |
|---|---|
...args | [string, ...args: unknown[]] |
Returns
unknown
Inherited from
Included.methodMissing
missingAttribute()
missingAttribute(...
args):never
Defined in: packages/activemodel/lib/attribute-methods.ts:562
Parameters
| Parameter | Type |
|---|---|
...args | [string, string[]] |
Returns
never
Inherited from
Included.missingAttribute