summaryrefslogtreecommitdiff
path: root/ext/gdbm
diff options
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-11 06:54:54 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-11 06:54:54 +0000
commit5d1364df501aaa8fd144562c4efe62611a260bc6 (patch)
tree7d493bc160c35d3f4cf677a66cf025f4d183f4aa /ext/gdbm
parentd13255aa4024d19c3d6ddc33fa7de1482dc88dac (diff)
* ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justin
Collins in [ruby-core:26050]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm')
-rw-r--r--ext/gdbm/gdbm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c
index 30a282c9c3..d4ea598745 100644
--- a/ext/gdbm/gdbm.c
+++ b/ext/gdbm/gdbm.c
@@ -483,9 +483,9 @@ fgdbm_indexes(argc, argv, obj)
/*
* call-seq:
- * gdbm.select { |value| block } -> array
+ * gdbm.select { |key, value| block } -> array
*
- * Returns a new array of all values of the database for which _block_
+ * Returns a new array of all key-value pairs of the database for which _block_
* evaluates to true.
*/
static VALUE