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/fetch-i.ri
U:RDoc::AnyMethod[iI" fetch:ETI"SDBM#fetch;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"PReturns the +value+ in the database associated with the given +key+ string.;To:RDoc::Markup::BlankLine o; ; [I"GIf a block is provided, the block will be called when there is no ;TI"P+value+ associated with the given +key+. The +key+ will be passed in as an ;TI"argument to the block.;T@o; ; [I"NIf no block is provided and no value is associated with the given +key+, ;TI"'then an IndexError will be raised.;T: @fileI"ext/sdbm/init.c;T:0@omit_headings_from_table_of_contents_below0I"Csdbm.fetch(key) -> value or nil sdbm.fetch(key) { |key| ... } ;T0[ I"(p1, p2 = v2);T@FI" SDBM;TcRDoc::NormalClass00