diff options
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c index 8f6ac76abf..335b8c8c1e 100644 --- a/enumerator.c +++ b/enumerator.c @@ -1003,7 +1003,7 @@ enumerator_size(VALUE obj) return (*e->size_fn)(e->obj, e->args); } if (rb_obj_is_proc(e->size)) { - if(e->args) + if (e->args) return rb_proc_call(e->size, e->args); else return rb_proc_call_with_block(e->size, 0, 0, Qnil); |