merge revision(s) 46099: [Backport #9814]

* enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
	  Patch by Erik Hollembeak [Bug #9814]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2014-07-07 03:52:52 +00:00
parent 73d6945fe3
commit d29595ceee
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Mon Jul 7 12:52:44 2014 Zachary Scott <e@zzak.io>
* enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
Patch by Erik Hollembeak [Bug #9814]
Mon Jul 7 12:51:09 2014 Zachary Scott <e@zzak.io>
* enum.c: [DOC] Use #find in example to clarify alias by @rachellogie

View file

@ -795,7 +795,7 @@ enumerator_peek_values_m(VALUE obj)
* p e.peek #=> 2
* p e.next #=> 2
* p e.next #=> 3
* p e.next #raises StopIteration
* p e.peek #raises StopIteration
*
*/

View file

@ -1,6 +1,6 @@
#define RUBY_VERSION "2.0.0"
#define RUBY_RELEASE_DATE "2014-07-07"
#define RUBY_PATCHLEVEL 527
#define RUBY_PATCHLEVEL 528
#define RUBY_RELEASE_YEAR 2014
#define RUBY_RELEASE_MONTH 7