diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-01 08:57:54 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-01 08:57:54 +0000 |
| commit | 82d5106e0913c1305d6a91ea0f56f16cd9dde7a9 (patch) | |
| tree | dda157ab60270b8845536f97b7058a6f45df0c28 | |
| parent | 2b6252e64e47de5973218ec4655de169bdddc884 (diff) | |
* array.c (rb_ary_choice): fixed mistake from RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 2 | ||||
| -rw-r--r-- | array.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ Tue May 1 17:46:05 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * array.c (rb_ary_choice): a new method to choose an element randomly from an array. + * array.c (rb_ary_choice): fixed mistake from RDoc. + Tue May 1 13:59:18 2007 Koichi Sasada <ko1@atdot.net> * proc.c (proc_arity): fix an arity bug ([ruby-core:11060]). @@ -2943,7 +2943,7 @@ rb_ary_shuffle(VALUE ary) /* * call-seq: - * array.choice -> an_array + * array.choice -> obj * * Choose a random element from an array. */ |
