Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
mass_assignable
master
Enumerable
Hash
MassAssignable
Field
NamedTuple
Object
StaticArray
Generated using Crystal 1.14.0
2024-11-26 10:18:10 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
]