summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
commit07116ed20561d8d1b880d2c24d9db9b1b02c896a (patch)
treec8abe8b753e8779549eae359217358eec601b225
parent9e5c1b31a6f5fcd09617592d1e6fad9b72e48617 (diff)
downloadruby-07116ed20561d8d1b880d2c24d9db9b1b02c896a.tar.gz
ruby-07116ed20561d8d1b880d2c24d9db9b1b02c896a.tar.xz
ruby-07116ed20561d8d1b880d2c24d9db9b1b02c896a.zip
* ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justin
Collins in [ruby-core:26050]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/gdbm/gdbm.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 210387431..a28e4a313 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Oct 11 15:54:52 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justin
+ Collins in [ruby-core:26050].
+
Sun Oct 11 10:27:09 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/irb/context.rb (IRB::Context#irb_name): removed duplicated
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c
index 71a159171..3c95cde2f 100644
--- a/ext/gdbm/gdbm.c
+++ b/ext/gdbm/gdbm.c
@@ -435,9 +435,9 @@ fgdbm_index(VALUE obj, VALUE value)
/*
* 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