Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
nib
master
Datum
GDBM
Nib
Built with Crystal 1.9.2
2023-10-07 17:53:14 UTC
class
GDBM
GDBM
Reference
Object
Defined in:
gdbm.cr
Constructors
.new
(filename : String, block_size =
512
, flags =
LibGDBM
::
OpenFlags
::
WRCREAT
, mode =
511
)
Instance Method Summary
#[]
(key)
#[]=
(key, val)
#[]?
(key)
#close
#delete
(key)
#each
(&)
Constructor Detail
def self.
new
(filename : String, block_size =
512
, flags =
LibGDBM
::
OpenFlags
::
WRCREAT
, mode =
511
)
#
[
View source
]
Instance Method Detail
def
[]
(key)
#
[
View source
]
def
[]=
(key, val)
#
[
View source
]
def
[]?
(key)
#
[
View source
]
def
close
#
[
View source
]
def
delete
(key)
#
[
View source
]
def
each
(&)
#
[
View source
]