* range.c (Init_Range): typo fixed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2007-10-18 08:14:21 +00:00
Родитель 0c7d366e47
Коммит 53d8c99d8b
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -8,6 +8,8 @@ Thu Oct 18 17:08:57 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (enum_cycle): should not cause infinite loop for empty
arrays. [ruby-core:12710]
* range.c (Init_Range): typo fixed.
Thu Oct 18 16:39:34 2007 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): more

Просмотреть файл

@ -917,7 +917,7 @@ Init_Range(void)
rb_define_method(rb_cRange, "each", range_each, 0);
rb_define_method(rb_cRange, "step", range_step, -1);
rb_define_method(rb_cRange, "begin", range_begin, 0);
rb_define_method(rb_cRange, "end", range_last, 0);
rb_define_method(rb_cRange, "end", range_end, 0);
rb_define_method(rb_cRange, "first", range_first, -1);
rb_define_method(rb_cRange, "last", range_last, -1);
rb_define_method(rb_cRange, "min", range_min, 0);