diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-07 03:51:16 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-07 03:51:16 +0000 |
commit | 73d6945fe3ccfc497c954c941d62c24f348bfa0f (patch) | |
tree | f73c432b5109d7ed86934b0a5e15c1365c0c696b | |
parent | a30ba8d76426f821cbf63e2398c2d1f1ab431254 (diff) |
merge revision(s) 46095: [Backport #9819]
* enum.c: [DOC] Use #find in example to clarify alias by @rachellogie
Patch submitted via documenting-ruby/ruby#34
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | enum.c | 4 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Mon Jul 7 12:51:09 2014 Zachary Scott <e@zzak.io> + + * enum.c: [DOC] Use #find in example to clarify alias by @rachellogie + Patch submitted via documenting-ruby/ruby#34 + Mon Jul 7 12:49:10 2014 SHIBATA Hiroshi <shibata.hiroshi@gmail.com> * man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773] @@ -203,8 +203,8 @@ find_i(VALUE i, VALUE memop, int argc, VALUE *argv) * * If no block is given, an enumerator is returned instead. * - * (1..10).detect { |i| i % 5 == 0 and i % 7 == 0 } #=> nil - * (1..100).detect { |i| i % 5 == 0 and i % 7 == 0 } #=> 35 + * (1..10).detect { |i| i % 5 == 0 and i % 7 == 0 } #=> nil + * (1..100).find { |i| i % 5 == 0 and i % 7 == 0 } #=> 35 * */ @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2014-07-07" -#define RUBY_PATCHLEVEL 526 +#define RUBY_PATCHLEVEL 527 #define RUBY_RELEASE_YEAR 2014 #define RUBY_RELEASE_MONTH 7 |