Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
SDBM
/
//opt/alt/ruby21/share/ri/2.1.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