Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
ohm
v0.2.2
Ohm
Filter
Finder
IndexNotFound
MissingID
Model
MutableCollection
MutableList
MutableSet
NoScript
RecordNotFound
UniqueIndexViolation
WeakPool
Built with Crystal 1.9.2
2023-10-08 02:27:26 UTC
class
Ohm::Model::MutableSet(M)
Ohm::Model::MutableSet(M)
Ohm::Model::MutableCollection(M)
Reference
Object
Defined in:
ohm.cr
Constructors
.new
(model, key)
Instance Method Summary
#add
(object)
#delete
(object)
#ids
#includes?
(object)
#size
Instance methods inherited from class
Ohm::Model::MutableCollection(M)
ids
ids
,
includes?(object)
includes?
,
key : Nest
key
,
model : M
model
,
redis
redis
,
size
size
,
to_a
to_a
Constructor methods inherited from class
Ohm::Model::MutableCollection(M)
new(model : M, key : Nest)
new
Constructor Detail
def self.
new
(model, key)
#
[
View source
]
Instance Method Detail
def
add
(object)
#
[
View source
]
def
delete
(object)
#
[
View source
]
def
ids
#
[
View source
]
def
includes?
(object)
#
[
View source
]
def
size
#
[
View source
]