Ruby 3.4 リファレンスマニュアル

constant DBM::WRCREAT

WRCREAT -> Integer[permalink][rdoc][edit]

書き込みモードで、すでにファイルが存在しなかったら作ります。

[SEE_ALSO] DBM.open