ruby-changes:34018
From: zzak <ko1@a...>
Date: Sun, 25 May 2014 12:00:23 +0900 (JST)
Subject: [ruby-changes:34018] zzak:r46099 (trunk): * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
zzak 2014-05-25 12:00:17 +0900 (Sun, 25 May 2014) New Revision: 46099 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=46099 Log: * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior Patch by Erik Hollembeak [Bug #9814] [ci skip] Modified files: trunk/ChangeLog trunk/enumerator.c Index: ChangeLog =================================================================== --- ChangeLog (revision 46098) +++ ChangeLog (revision 46099) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun May 25 11:58:26 2014 Zachary Scott <e@z...> + + * enumerator.c: [DOC] Fix example to show Enumerator#peek behavior + Patch by Erik Hollembeak [Bug #9814] + Sun May 25 11:56:33 2014 Nobuyoshi Nakada <nobu@r...> * vsnprintf.c (BSD_vfprintf): fix string width when precision is Index: enumerator.c =================================================================== --- enumerator.c (revision 46098) +++ enumerator.c (revision 46099) @@ -838,7 +838,7 @@ enumerator_peek_values_m(VALUE obj) https://github.com/ruby/ruby/blob/trunk/enumerator.c#L838 * p e.peek #=> 2 * p e.next #=> 2 * p e.next #=> 3 - * p e.next #raises StopIteration + * p e.peek #raises StopIteration * */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/