summaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/numeric.c b/numeric.c
index 1a2f77931..3000158be 100644
--- a/numeric.c
+++ b/numeric.c
@@ -1387,6 +1387,7 @@ num_step(int argc, VALUE *argv, VALUE from)
{
VALUE to, step;
+ RETURN_ENUMERATOR(from, argc, argv);
if (argc == 1) {
to = argv[0];
step = INT2FIX(1);