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

gdbm.each_value { |value| block } â gdbm Instance Public methods Executes block for each key in the database, passing the corresponding value as a parameter.

each_pair

gdbm.each_pair { |key, value| block } â gdbm Instance Public methods Executes block for each key in the database, passing the key and the correspoding value as a parameter.

each_key

gdbm.each_key { |key| block } â gdbm Instance Public methods Executes block for each key in the database, passing the key as a parameter.

each

gdbm.each_pair { |key, value| block } â gdbm Instance Public methods Executes block for each key in the database, passing the key and the correspoding value as a parameter.

delete_if

gdbm.delete_if { |key, value| block } â gdbm Instance Public methods Deletes every key-value pair from gdbm for which block evaluates to true.

delete

gdbm.delete(key) â value or nil Instance Public methods Removes the key-value-pair with the specified key from this database and returns the corresponding value. Returns nil if the database is empty.

closed?

gdbm.closed? â true or false Instance Public methods Returns true if the associated database file has been closed.

close

gdbm.close â nil Instance Public methods Closes the associated database file.

clear

gdbm.clear â gdbm Instance Public methods Removes all the key-value pairs within gdbm.

cachesize=

gdbm.cachesize = size â size Instance Public methods Sets the size of the internal bucket cache to size.

Page 2056 of 2275

|< < Prev 2053 2054 2055 2056 2057 2058 2059 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions