End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
GDBM#[]
gdbm[key] → value
ext/gdbm/gdbm.c
View on GitHub ↗
static VALUE
fgdbm_aref(VALUE obj, VALUE keystr)
{
return rb_gdbm_fetch3(obj, keystr);
}
Retrieves the value corresponding to key.