w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
open

DBM.open(filename[, mode[, flags]]) â dbmDBM.open(filename[, mode[, flags]]) {|dbm| block} Class Public methods Open a dbm database and yields it if a block is given. See also DBM.new.

[]

dbm[key] â string value or nil Instance Public methods Return a value from the database by locating the key string provided. If the key is not found, returns nil.

[]=

dbm[key] = value Instance Public methods Stores the specified string value in the database, indexed via the string key provided.

clear

dbm.clear Instance Public methods Deletes all data from the database.

close

dbm.close Instance Public methods Closes the database.

closed?

dbm.closed? â true or false Instance Public methods Returns true if the database is closed, false otherwise.

delete

dbm.delete(key) Instance Public methods Deletes an entry from the database.

delete_if

dbm.delete_if {|key, value| block} â self Instance Public methods Deletes all entries for which the code block returns true. Returns self.

each

dbm.each_pair {|key,value| block} â self Instance Public methods Calls the block once for each [key, value] pair in the database. Returns self.

each_key

dbm.each_key {|key| block} â self Instance Public methods Calls the block once for each key string in the database. Returns self.

Popular Articles
Compress::Raw::Zlib - Low-Level Interface to zlib compression library NAME SYNOPSIS DESCRIPTION Compress::Raw::Zlib::Deflate*($d, $status) = new Compress::Raw::Zlib::Deflate( [OPT] ) * *$status = $d->deflate($input,
require require VERSION require EXPR require Demands a version of Perl specified by VERSION, or demands some semantics specified by EXPR or by $_ if EXPR is
CI_DB_driver::escape_identifiers() escape_identifiers($item) Parameters: $item (mixed) – The item or array of items to escape Returns: The input item(s), escaped Return type:
Locale::Language - standard codes for language identification NAME SYNOPSIS DESCRIPTION SUPPORTED CODE SETS ROUTINES SEE ALSO AUTHOR COPYRIGHT NAME Locale::Language - standard codes for language identification
ctypes._FuncPtr class ctypes._FuncPtr Base class for C callable foreign functions. Instances of foreign functions are also C compatible data types; they represent


Page 160 of 11844

|< < Prev 157 158 159 160 161 162 163 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions