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
abstract class
Ohm::Model::MutableCollection(M)
Ohm::Model::MutableCollection(M)
Reference
Object
Direct Known Subclasses
Ohm::Model::MutableList(M)
Ohm::Model::MutableSet(M)
Defined in:
ohm.cr
Constructors
.new
(model : M, key : Nest)
Instance Method Summary
#ids
#includes?
(object)
#key
: Nest
#model
: M
#redis
#size
#to_a
Constructor Detail
def self.
new
(model : M, key : Nest)
#
[
View source
]
Instance Method Detail
abstract def
ids
#
[
View source
]
abstract def
includes?
(object)
#
[
View source
]
def
key
: Nest
#
[
View source
]
def
model
: M
#
[
View source
]
def
redis
#
[
View source
]
abstract def
size
#
[
View source
]
def
to_a
#
[
View source
]