File: C:/Ruby27-x64/share/ri/2.7.0/system/SDBM/open-c.ri
U:RDoc::AnyMethod[iI" open:ETI"SDBM::open;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"=If called without a block, this is the same as SDBM.new.;To:RDoc::Markup::BlankLine o;
; [I"KIf a block is given, the new database will be passed to the block and ;TI"8will be safely closed after the block has executed.;T@o;
; [I"
Example:;T@o:RDoc::Markup::Verbatim; [
I"require 'sdbm'
;TI"
;TI"&SDBM.open('my_database') do |db|
;TI" db['hello'] = 'world'
;TI"end;T:@format0:
@fileI"ext/sdbm/init.c;T:0@omit_headings_from_table_of_contents_below0I"VSDBM.open(filename, mode = 0666)
SDBM.open(filename, mode = 0666) { |sdbm| ... }
;T0[ I"(*args);T@FI" SDBM;TcRDoc::NormalClass00