ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- PKI5 ]KKXX length-i.rinu[U:RDoc::AnyMethod[iI" length:ETI"GDBM#length;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I" fixnum;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]!¾each_pair-i.rinu[U:RDoc::AnyMethod[iI"each_pair:ETI"GDBM#each_pair;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"NExecutes _block_ for each key in the database, passing the _key_ and the ;TI")correspoding _value_ as a parameter.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"2gdbm.each_pair { |key, value| block } -> gdbm;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]}}values_at-i.rinu[U:RDoc::AnyMethod[iI"values_at:ETI"GDBM#values_at;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IReturns an array of the values associated with each specified _key_.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"'gdbm.values_at(key, ...) -> array ;T0[I" (*args);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]bj|has_key%3f-i.rinu[U:RDoc::AnyMethod[iI" has_key?:ETI"GDBM#has_key?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CReturns true if the given key _k_ exists within the database. ;TI"Returns false otherwise.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"&gdbm.has_key?(k) -> true or false;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]PUreorganize-i.rinu[U:RDoc::AnyMethod[iI"reorganize:ETI"GDBM#reorganize;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MReorganizes the database file. This operation removes reserved space of ;TI"Oelements that have already been deleted. It is only useful after a lot of ;TI"deletions in the database.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.reorganize -> gdbm ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]fiicachesize%3d-i.rinu[U:RDoc::AnyMethod[iI"cachesize=:ETI"GDBM#cachesize=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I":Sets the size of the internal bucket cache to _size_.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"#gdbm.cachesize = size -> size ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]5each_value-i.rinu[U:RDoc::AnyMethod[iI"each_value:ETI"GDBM#each_value;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"NExecutes _block_ for each key in the database, passing the corresponding ;TI"_value_ as a parameter.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"/gdbm.each_value { |value| block } -> gdbm ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]Y  replace-i.rinu[U:RDoc::AnyMethod[iI" replace:ETI"GDBM#replace;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IReplaces the content of _gdbm_ with the key-value pairs of _other_. ;TI"+_other_ must have an each_pair method.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"!gdbm.replace(other) -> gdbm ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]l+aC key%3f-i.rinu[U:RDoc::AnyMethod[iI" key?:ETI"GDBM#key?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CReturns true if the given key _k_ exists within the database. ;TI"Returns false otherwise.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I""gdbm.key?(k) -> true or false;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]uľKK clear-i.rinu[U:RDoc::AnyMethod[iI" clear:ETI"GDBM#clear;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"3Removes all the key-value pairs within _gdbm_.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.clear -> gdbm ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]CU׻ shift-i.rinu[U:RDoc::AnyMethod[iI" shift:ETI"GDBM#shift;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ERemoves a key-value-pair from this database and returns it as a ;TI"Mtwo-item array [ _key_, _value_ ]. Returns nil if the database is empty.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"'gdbm.shift -> (key, value) or nil ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]c]] to_a-i.rinu[U:RDoc::AnyMethod[iI" to_a:ETI"GDBM#to_a;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"GReturns an array of all key-value pairs contained in the database.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.to_a -> array ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]q_ fetch-i.rinu[U:RDoc::AnyMethod[iI" fetch:ETI"GDBM#fetch;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HRetrieves the _value_ corresponding to _key_. If there is no value ;TI"?associated with _key_, _default_ will be returned instead.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"*gdbm.fetch(key [, default]) -> value ;T0[I"(p1, p2 = v2);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ] JJnew-c.rinu[U:RDoc::AnyMethod[iI"new:ETI"GDBM::new;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"JCreates a new GDBM instance by opening a gdbm file named _filename_. ;TI"JIf the file does not exist, a new file with file mode _mode_ will be ;TI"2created. _flags_ may be one of the following:;To:RDoc::Markup::List: @type: BULLET: @items[ o:RDoc::Markup::ListItem: @label0; [o; ; [I"!*READER* - open as a reader;To;;0; [o; ; [I"!*WRITER* - open as a writer;To;;0; [o; ; [I"S*WRCREAT* - open as a writer; if the database does not exist, create a new one;To;;0; [o; ; [I"C*NEWDB* - open as a writer; overwrite any existing databases;To:RDoc::Markup::BlankLineo; ; [I"SThe values *WRITER*, *WRCREAT* and *NEWDB* may be combined with the following ;TI"values by bitwise or:;To; ; ; ;[o;;0; [o; ; [I"M*SYNC* - cause all database operations to be synchronized to the disk;To;;0; [o; ; [I".*NOLOCK* - do not lock the database file;T@&o; ; [ I"PIf no _flags_ are specified, the GDBM object will try to open the database ;TI"Ffile as a writer and will create it if it does not already exist ;TI"R(cf. flag WRCREAT). If this fails (for instance, if another process ;TI"Khas already opened the database as a reader), it will try to open the ;TI":database file as a reader (cf. flag READER).;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"2GDBM.new(filename, mode = 0666, flags = nil) ;T0[I"(p1, p2 = v2, p3 = v3);T@>FI" GDBM;TcRDoc::NormalClass00PKI5 ] XWdreject%21-i.rinu[U:RDoc::AnyMethod[iI" reject!:ETI"GDBM#reject!;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"RDeletes every key-value pair from _gdbm_ for which _block_ evaluates to true.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"0gdbm.reject! { |key, value| block } -> gdbm;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]K? update-i.rinu[U:RDoc::AnyMethod[iI" update:ETI"GDBM#update;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MAdds the key-value pairs of _other_ to _gdbm_, overwriting entries with ;TI"Lduplicate keys with those from _other_. _other_ must have an each_pair ;TI" method.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I" gdbm.update(other) -> gdbm ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]nOO empty%3f-i.rinu[U:RDoc::AnyMethod[iI" empty?:ETI"GDBM#empty?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"+Returns true if the database is empty.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I""gdbm.empty? -> true or false ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]بQQ values-i.rinu[U:RDoc::AnyMethod[iI" values:ETI"GDBM#values;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"5Returns an array of all values of this database.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.values -> array ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]Yinclude%3f-i.rinu[U:RDoc::AnyMethod[iI" include?:ETI"GDBM#include?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CReturns true if the given key _k_ exists within the database. ;TI"Returns false otherwise.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"&gdbm.include?(k) -> true or false;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]τff cdesc-GDBM.rinu[U:RDoc::NormalClass[iI" GDBM:ET@I" Object;To:RDoc::Markup::Document: @parts[o;;[S:RDoc::Markup::Heading: leveli: textI" Summary;To:RDoc::Markup::BlankLineo:RDoc::Markup::Paragraph;[I"ORuby extension for GNU dbm (gdbm) -- a simple database engine for storing ;TI"key-value pairs on disk.;T@S; ; i; I"Description;T@o; ;[ I"QGNU dbm is a library for simple databases. A database is a file that stores ;TI"Rkey-value pairs. Gdbm allows the user to store, retrieve, and delete data by ;TI"Okey. It furthermore allows a non-sorted traversal of all key-value pairs. ;TI"HA gdbm database thus provides the same functionality as a hash. As ;TI"Pwith objects of the Hash class, elements can be accessed with []. ;TI"QFurthermore, GDBM mixes in the Enumerable module, thus providing convenient ;TI"0methods such as #find, #collect, #map, etc.;T@o; ;[ I"PA process is allowed to open several different databases at the same time. ;TI"QA process can open a database as a "reader" or a "writer". Whereas a reader ;TI"Phas only read-access to the database, a writer has read- and write-access. ;TI"RA database can be accessed either by any number of readers or by exactly one ;TI"writer at the same time.;T@S; ; i; I" Examples;T@o:RDoc::Markup::List: @type: NUMBER: @items[o:RDoc::Markup::ListItem: @label0;[o; ;[I"COpening/creating a database, and filling it with some entries:;T@o:RDoc::Markup::Verbatim;[ I"require 'gdbm' ;TI" ;TI"&gdbm = GDBM.new("fruitstore.db") ;TI"gdbm["ananas"] = "3" ;TI"gdbm["banana"] = "8" ;TI" gdbm["cranberry"] = "4909" ;TI"gdbm.close ;T: @format0o;;0;[ o; ;[I"Reading out a database:;T@o;;[ I"require 'gdbm' ;TI" ;TI"&gdbm = GDBM.new("fruitstore.db") ;TI"$gdbm.each_pair do |key, value| ;TI"" print "#{key}: #{value}\n" ;TI" end ;TI"gdbm.close ;T;0o; ;[I" produces;T@o;;[I"banana: 8 ;TI"ananas: 3 ;TI"cranberry: 4909 ;T;0S; ; i; I" Links;T@o;;: BULLET;[o;;0;[o; ;[I"&http://www.gnu.org/software/gdbm/;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0;0;0[[ U:RDoc::Constant[iI" READER;TI"GDBM::READER;T00o;;[o; ;[I"open database as a reader;T@;@W;0@W@cRDoc::NormalClass0U;[iI" WRITER;TI"GDBM::WRITER;T00o;;[o; ;[I"open database as a writer;T@;@W;0@W@@c0U;[iI" WRCREAT;TI"GDBM::WRCREAT;T00o;;[o; ;[I"Popen database as a writer; if the database does not exist, create a new one;T@;@W;0@W@@c0U;[iI" NEWDB;TI"GDBM::NEWDB;T00o;;[o; ;[I"Aopen database as a writer; overwrite any existing databases ;T@;@W;0@W@@c0U;[iI" FAST;TI"GDBM::FAST;T00o;;[o; ;[I"Cflag for #new and #open. this flag is obsolete for gdbm >= 1.8;T@;@W;0@W@@c0U;[iI" SYNC;TI"GDBM::SYNC;T00o;;[o; ;[I"2flag for #new and #open. only for gdbm >= 1.8;T@;@W;0@W@@c0U;[iI" NOLOCK;TI"GDBM::NOLOCK;T00o;;[o; ;[I"flag for #new and #open;T@;@W;0@W@@c0U;[iI" VERSION;TI"GDBM::VERSION;T00o;;[o; ;[I" version of the gdbm library;T@;@W;0@W@@c0[[I"Enumerable;To;;[;@W;0I"ext/gdbm/gdbm.c;T[[I" class;T[[: public[[I"new;T@[I" open;T@[:protected[[: private[[I" instance;T[[;[-[I"[];T@[I"[]=;T@[I"cachesize=;T@[I" clear;T@[I" close;T@[I" closed?;T@[I" delete;T@[I"delete_if;T@[I" each;T@[I" each_key;T@[I"each_pair;T@[I"each_value;T@[I" empty?;T@[I"fastmode=;T@[I" fetch;T@[I" has_key?;T@[I"has_value?;T@[I" include?;T@[I" invert;T@[I"key;T@[I" key?;T@[I" keys;T@[I" length;T@[I" member?;T@[I" reject;T@[I" reject!;T@[I"reorganize;T@[I" replace;T@[I" select;T@[I" shift;T@[I" size;T@[I" store;T@[I" sync;T@[I"syncmode=;T@[I" to_a;T@[I" to_hash;T@[I" update;T@[I" value?;T@[I" values;T@[I"values_at;T@[;[[;[[[U:RDoc::Context::Section[i0o;;[;0;0[@W@WcRDoc::TopLevelPKI5 ]UERR size-i.rinu[U:RDoc::AnyMethod[iI" size:ETI"GDBM#size;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I" fixnum;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]r select-i.rinu[U:RDoc::AnyMethod[iI" select:ETI"GDBM#select;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"RReturns a new array of all key-value pairs of the database for which _block_ ;TI"evaluates to true.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"1gdbm.select { |key, value| block } -> array ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]JDl@@ close-i.rinu[U:RDoc::AnyMethod[iI" close:ETI"GDBM#close;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I")Closes the associated database file.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.close -> nil ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]h?FF %5b%5d-i.rinu[U:RDoc::AnyMethod[iI"[]:ETI" GDBM#[];TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"2Retrieves the _value_ corresponding to _key_.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm[key] -> value ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]hs[xx invert-i.rinu[U:RDoc::AnyMethod[iI" invert:ETI"GDBM#invert;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"KReturns a hash created by using _gdbm_'s values as keys, and the keys ;TI"as values.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.invert -> hash ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ] || sync-i.rinu[U:RDoc::AnyMethod[iI" sync:ETI"GDBM#sync;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"NUnless the _gdbm_ object has been opened with the *SYNC* flag, it is not ;TI"Qguarenteed that database modification operations are immediately applied to ;TI"Jthe database file. This method ensures that all recent modifications ;TI"Rto the database are written to the file. Blocks until all writing operations ;TI"$to the disk have been finished.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.sync -> gdbm ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]  delete-i.rinu[U:RDoc::AnyMethod[iI" delete:ETI"GDBM#delete;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"PRemoves the key-value-pair with the specified _key_ from this database and ;TI"Mreturns the corresponding _value_. Returns nil if the database is empty.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"&gdbm.delete(key) -> value or nil ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]WՌdelete_if-i.rinu[U:RDoc::AnyMethod[iI"delete_if:ETI"GDBM#delete_if;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"RDeletes every key-value pair from _gdbm_ for which _block_ evaluates to true.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"2gdbm.delete_if { |key, value| block } -> gdbm;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]X̓lcc to_hash-i.rinu[U:RDoc::AnyMethod[iI" to_hash:ETI"GDBM#to_hash;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"EReturns a hash of all key-value pairs contained in the database.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.to_hash -> hash ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]rj> open-c.rinu[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::BlankLineo; ; [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::NormalClass00PKI5 ]ť[ value%3f-i.rinu[U:RDoc::AnyMethod[iI" value?:ETI"GDBM#value?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"EReturns true if the given value _v_ exists within the database. ;TI"Returns false otherwise.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"$gdbm.value?(v) -> true or false;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]jkey-i.rinu[U:RDoc::AnyMethod[iI"key:ETI" GDBM#key;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"KReturns the _key_ for a given _value_. If several keys may map to the ;TI">same value, the key that is found first will be returned.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.key(value) -> key ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ] eee store-i.rinu[U:RDoc::AnyMethod[iI" store:ETI"GDBM#store;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I";Associates the value _value_ with the specified _key_.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"$gdbm.store(key, value) -> value;T0[I" (p1, p2);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]d5[[%5b%5d%3d-i.rinu[U:RDoc::AnyMethod[iI"[]=:ETI" GDBM#[]=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I";Associates the value _value_ with the specified _key_.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm[key]= value -> value;T0[I" (p1, p2);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]g reject-i.rinu[U:RDoc::AnyMethod[iI" reject:ETI"GDBM#reject;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MReturns a hash copy of _gdbm_ where all key-value pairs from _gdbm_ for ;TI"Fwhich _block_ evaluates to true are removed. See also: #delete_if;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"0gdbm.reject { |key, value| block } -> hash ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]ʖ6II keys-i.rinu[U:RDoc::AnyMethod[iI" keys:ETI"GDBM#keys;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"3Returns an array of all keys of this database.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"gdbm.keys -> array ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]ۢccfastmode%3d-i.rinu[U:RDoc::AnyMethod[iI"fastmode=:ETI"GDBM#fastmode=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"OTurns the database's fast mode on or off. If fast mode is turned on, gdbm ;TI"Jdoes not wait for writes to be flushed to the disk before continuing.;To:RDoc::Markup::BlankLineo; ; [I"MThis option is obsolete for gdbm >= 1.8 since fast mode is turned on by ;TI""default. See also: #syncmode=;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"(gdbm.fastmode = boolean -> boolean ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]\ true or false ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]y Rrmember%3f-i.rinu[U:RDoc::AnyMethod[iI" member?:ETI"GDBM#member?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CReturns true if the given key _k_ exists within the database. ;TI"Returns false otherwise.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"%gdbm.member?(k) -> true or false;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]Qˮq each-i.rinu[U:RDoc::AnyMethod[iI" each:ETI"GDBM#each;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"NExecutes _block_ for each key in the database, passing the _key_ and the ;TI")correspoding _value_ as a parameter.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"2gdbm.each_pair { |key, value| block } -> gdbm;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]N8has_value%3f-i.rinu[U:RDoc::AnyMethod[iI"has_value?:ETI"GDBM#has_value?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"EReturns true if the given value _v_ exists within the database. ;TI"Returns false otherwise.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"(gdbm.has_value?(v) -> true or false;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]x,,syncmode%3d-i.rinu[U:RDoc::AnyMethod[iI"syncmode=:ETI"GDBM#syncmode=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [ I"QTurns the database's synchronization mode on or off. If the synchronization ;TI"Omode is turned on, the database's in-memory state will be synchronized to ;TI"Ndisk after every database modification operation. If the synchronization ;TI"Qmode is turned off, GDBM does not wait for writes to be flushed to the disk ;TI"before continuing.;To:RDoc::Markup::BlankLineo; ; [I"PThis option is only available for gdbm >= 1.8 where syncmode is turned off ;TI"%by default. See also: #fastmode=;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"(gdbm.syncmode = boolean -> boolean ;T0[I" (p1);T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]I! each_key-i.rinu[U:RDoc::AnyMethod[iI" each_key:ETI"GDBM#each_key;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Executes _block_ for each key in the database, passing the ;TI"_key_ as a parameter.;T: @fileI"ext/gdbm/gdbm.c;T:0@omit_headings_from_table_of_contents_below0I"+gdbm.each_key { |key| block } -> gdbm ;T0[I"();T@FI" GDBM;TcRDoc::NormalClass00PKI5 ]KKXX length-i.rinu[PKI5 ]!¾each_pair-i.rinu[PKI5 ]}}values_at-i.rinu[PKI5 ]bj|?has_key%3f-i.rinu[PKI5 ]PUreorganize-i.rinu[PKI5 ]fii3 cachesize%3d-i.rinu[PKI5 ]5 each_value-i.rinu[PKI5 ]Y   replace-i.rinu[PKI5 ]l+aC key%3f-i.rinu[PKI5 ]uľKK Yclear-i.rinu[PKI5 ]CU׻ shift-i.rinu[PKI5 ]c]] to_a-i.rinu[PKI5 ]q_ ifetch-i.rinu[PKI5 ] JJanew-c.rinu[PKI5 ] XWdreject%21-i.rinu[PKI5 ]K? update-i.rinu[PKI5 ]nOO !empty%3f-i.rinu[PKI5 ]بQQ ;#values-i.rinu[PKI5 ]Y$include%3f-i.rinu[PKI5 ]τff &cdesc-GDBM.rinu[PKI5 ]UERR 97size-i.rinu[PKI5 ]r 8select-i.rinu[PKI5 ]JDl@@ :close-i.rinu[PKI5 ]h?FF <%5b%5d-i.rinu[PKI5 ]hs[xx =invert-i.rinu[PKI5 ] || K?sync-i.rinu[PKI5 ]  Bdelete-i.rinu[PKI5 ]WՌDdelete_if-i.rinu[PKI5 ]X̓lcc Eto_hash-i.rinu[PKI5 ]rj> mGopen-c.rinu[PKI5 ]ť[ SKvalue%3f-i.rinu[PKI5 ]jMkey-i.rinu[PKI5 ] eee Nstore-i.rinu[PKI5 ]d5[[P%5b%5d%3d-i.rinu[PKI5 ]g 1Rreject-i.rinu[PKI5 ]ʖ6II 3Tkeys-i.rinu[PKI5 ]ۢccUfastmode%3d-i.rinu[PKI5 ]\