diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:39:39 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 09:39:39 +0000 |
commit | 190554f06592cfce9ff262f594eaff28d5aa987a (patch) | |
tree | 0c23a74d2acf9956bd6feb1c8d2d23021dc78c0e | |
parent | 636840b3fa8b1630b76a9f5b92a4a48bd2b4d252 (diff) |
merges r25300 from trunk into ruby_1_9_1.
--
* 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_9_1@26010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/gdbm/gdbm.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -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]. + Sat Aug 22 01:29:29 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/mkmf.rb (rm_f, rm_rf): pass the last hash through if exists. diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c index edde0d19ab..2e23f570f7 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 @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 363 +#define RUBY_PATCHLEVEL 364 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 |