mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2000-03-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
73d2362580
commit
4d215cd9d3
36 changed files with 190 additions and 316 deletions
2
range.c
2
range.c
|
@ -242,7 +242,7 @@ rb_range_beg_len(range, begp, lenp, len, err)
|
|||
|
||||
out_of_range:
|
||||
if (err) {
|
||||
rb_raise(rb_eIndexError, "%d..%s%d out of range",
|
||||
rb_raise(rb_eRangeError, "%d..%s%d out of range",
|
||||
b, EXCL(range)?".":"", e);
|
||||
}
|
||||
return Qnil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue