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
  • Bulletin
  • Posts
doc_ruby_on_rails
doc_ruby_on_rails


each_value

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

each_pair

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.

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.

delete_if

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

delete

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

closed?

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

close

dbm.close Instance Public methods Closes the database.

clear

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

[]=

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

Page 2172 of 2275

|< < Prev 2169 2170 2171 2172 2173 2174 2175 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions