Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
GDBM
/
//proc/thread-self/root/proc/thread-self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/GDBM/open-c.ri
U:RDoc::AnyMethod[iI" open:ETI"GDBM::open;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"AIf called without a block, this is synonymous to GDBM::new. ;TI"LIf a block is given, the new GDBM instance will be passed to the block ;TI"Has a parameter, and the corresponding database file will be closed ;TI"=after the execution of the block code has been finished.;To:RDoc::Markup::BlankLine o; ; [I"+Example for an open call with a block:;T@o:RDoc::Markup::Verbatim; [I"require 'gdbm' ;TI"*GDBM.open("fruitstore.db") do |gdbm| ;TI"& gdbm.each_pair do |key, value| ;TI"$ print "#{key}: #{value}\n" ;TI" end ;TI"end;T:@format0: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"pGDBM.open(filename, mode = 0666, flags = nil) GDBM.open(filename, mode = 0666, flags = nil) { |gdbm| ... } ;T0[ I"(*args);T@FI" GDBM;TcRDoc::NormalClass00