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::NormalClass00