File: //usr/share/ri/3.0.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