Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mass_assignable
master
Enumerable
Hash
MassAssignable
Field
NamedTuple
Object
StaticArray
Built with Crystal 1.9.2
2023-10-07 19:49:47 UTC
module
MassAssignable
Defined in:
mass_assignable.cr
Constant Summary
VERSION
=
"0.1.0"
Constructors
.new
(*, __mass_assign_attributes attributes : T) forall T
Instance Method Summary
#attributes=
(attributes : NamedTuple)
#to_attribute
Constructor Detail
def self.
new
(*, __mass_assign_attributes attributes : T) forall T
#
[
View source
]
Instance Method Detail
def
attributes=
(attributes :
NamedTuple
)
#
[
View source
]
def
to_attribute
#
[
View source
]