summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authormarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-06 17:16:58 +0000
committermarcandre <marcandre@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-06 17:16:58 +0000
commit0814c4ac643fcbb2d7f2d6c077fa1626a5e59b77 (patch)
tree7c831ae332ff0304fe3d086c5f235f04658ceeb2 /enum.c
parent7a31096255cd226d16c918fa859e3e4a654e64b9 (diff)
* enumerator.c: Support for lazy.cycle.size
[Feature #6636] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index e9c9256..789a88b 100644
--- a/enum.c
+++ b/enum.c
@@ -2235,7 +2235,7 @@ cycle_i(VALUE i, VALUE ary, int argc, VALUE *argv)
return Qnil;
}
-static VALUE
+VALUE
enum_cycle_size(VALUE self, VALUE args)
{
long mul;