From bffae00241c5a2a56a4c6e6186c1652418f47378 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 11 Oct 2009 06:54:54 +0000 Subject: * 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/trunk@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/gdbm/gdbm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/gdbm') diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index 71a159171e..3c95cde2f7 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 -- cgit v1.2.3