diff options
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ range_init(obj, beg, end, exclude_end) args[0] = beg; args[1] = end; if (!FIXNUM_P(beg) || !FIXNUM_P(end)) { - rb_rescue2(range_check, (VALUE)args, range_failed, 0); + rb_rescue(range_check, (VALUE)args, range_failed, 0); } SET_EXCL(obj, exclude_end); |