[前][次][番号順一覧][スレッド一覧]

ruby-changes:34661

From: usa <ko1@a...>
Date: Mon, 7 Jul 2014 12:51:23 +0900 (JST)
Subject: [ruby-changes:34661] usa:r46744 (ruby_2_0_0): merge revision(s) 46095: [Backport #9819]

usa	2014-07-07 12:51:16 +0900 (Mon, 07 Jul 2014)

  New Revision: 46744

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46744

  Log:
    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

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/enum.c
    branches/ruby_2_0_0/version.h
Index: ruby_2_0_0/ChangeLog
===================================================================
--- ruby_2_0_0/ChangeLog	(revision 46743)
+++ ruby_2_0_0/ChangeLog	(revision 46744)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/ChangeLog#L1
+Mon Jul  7 12:51:09 2014  Zachary Scott  <e@z...>
+
+	* 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@g...>
 
 	* man/ruby.1: remove deadlink. [ruby-core:62145][Bug #9773]
Index: ruby_2_0_0/enum.c
===================================================================
--- ruby_2_0_0/enum.c	(revision 46743)
+++ ruby_2_0_0/enum.c	(revision 46744)
@@ -203,8 +203,8 @@ find_i(VALUE i, VALUE memop, int argc, V https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/enum.c#L203
  *
  *  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
  *
  */
 
Index: ruby_2_0_0/version.h
===================================================================
--- ruby_2_0_0/version.h	(revision 46743)
+++ ruby_2_0_0/version.h	(revision 46744)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_0_0/version.h#L1
 #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

Property changes on: ruby_2_0_0
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r46095


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]