Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
store
master
Store
Base
Built with Crystal 1.9.2
2023-10-07 19:13:28 UTC
abstract class
Store::Base(T)
Store::Base(T)
Reference
Object
Direct Known Subclasses
JSON::Store(T)
Defined in:
store.cr
Constructors
.new
(filename)
Instance Method Summary
#read
(f : IO)
#transaction
(&)
#write
(f : IO, data : T)
Constructor Detail
def self.
new
(filename)
#
[
View source
]
Instance Method Detail
abstract def
read
(f : IO)
#
[
View source
]
def
transaction
(&)
#
[
View source
]
abstract def
write
(f : IO, data : T)
#
[
View source
]