1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enum.c (enum_cycle): typo fixed. a patch from Kazuhiro

NISHIYAMA <zn AT mbf.nifty.com>.  [ruby-dev:31362]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-08-08 17:03:33 +00:00
parent 7db17c6ad6
commit e2de7c70dc
3 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
Thu Aug 9 02:02:02 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_cycle): typo fixed. a patch from Kazuhiro
NISHIYAMA <zn AT mbf.nifty.com>. [ruby-dev:31362]
Wed Aug 8 19:17:40 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): no longer check

2
enum.c
View file

@ -1546,7 +1546,7 @@ cycle_i(VALUE i, VALUE ary)
* forever. Enumerable#cycle saves elements in an internal array.
*
* a = ["a", "b", "c"]
* a.each {|x| puts x } # print, a, b, c, a, b, c,.. forever.
* a.cycle {|x| puts x } # print, a, b, c, a, b, c,.. forever.
*
*/

View file

@ -1,7 +1,7 @@
#define RUBY_VERSION "1.9.0"
#define RUBY_RELEASE_DATE "2007-08-08"
#define RUBY_RELEASE_DATE "2007-08-09"
#define RUBY_VERSION_CODE 190
#define RUBY_RELEASE_CODE 20070808
#define RUBY_RELEASE_CODE 20070809
#define RUBY_PATCHLEVEL 0
#define RUBY_VERSION_MAJOR 1
@ -9,7 +9,7 @@
#define RUBY_VERSION_TEENY 0
#define RUBY_RELEASE_YEAR 2007
#define RUBY_RELEASE_MONTH 8
#define RUBY_RELEASE_DAY 8
#define RUBY_RELEASE_DAY 9
#ifdef RUBY_EXTERN
RUBY_EXTERN const char ruby_version[];