From 53d8c99d8b63d452a05d0744c37e8a78a94aa401 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 18 Oct 2007 08:14:21 +0000 Subject: [PATCH] * range.c (Init_Range): typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 2 ++ range.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a534f741be..5e95fab15e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,8 @@ Thu Oct 18 17:08:57 2007 Yukihiro Matsumoto * 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 * lib/rexml/source.rb (REXML::SourceFactory::SourceFactory): more diff --git a/range.c b/range.c index ee0dc5e52f..2a9f6e3767 100644 --- a/range.c +++ b/range.c @@ -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);