mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
* ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash.
[ruby-dev:37039] * ext/sdbm/init.c (Init_sdbm): typo fixed. [ruby-dev:37039] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0042ccef2c
commit
703fb3d9be
5 changed files with 25 additions and 9 deletions
|
@ -678,7 +678,7 @@ Init_sdbm()
|
|||
rb_define_method(rb_cDBM, "[]=", fsdbm_store, 2);
|
||||
rb_define_method(rb_cDBM, "store", fsdbm_store, 2);
|
||||
rb_define_method(rb_cDBM, "index", fsdbm_index, 1);
|
||||
rb_define_method(rb_cDBM, "index", fsdbm_key, 1);
|
||||
rb_define_method(rb_cDBM, "key", fsdbm_key, 1);
|
||||
rb_define_method(rb_cDBM, "select", fsdbm_select, 0);
|
||||
rb_define_method(rb_cDBM, "values_at", fsdbm_values_at, -1);
|
||||
rb_define_method(rb_cDBM, "length", fsdbm_length, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue