summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
Diffstat (limited to 'range.c')
-rw-r--r--range.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/range.c b/range.c
index 6d6b59c..7ea8e18 100644
--- a/range.c
+++ b/range.c
@@ -134,9 +134,6 @@ range_each(range)
rb_yield(INT2NUM(i));
}
}
- else if (TYPE(b) == T_STRING) {
- rb_str_upto(b, e, EXCL(range));
- }
else { /* generic each */
VALUE v = b;
ID le = EXCL(range)?'<':rb_intern("<=");