summaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/enum.c b/enum.c
index dd2ed9244..cc0883942 100644
--- a/enum.c
+++ b/enum.c
@@ -1803,6 +1803,14 @@ enum_cycle(int argc, VALUE *argv, VALUE obj)
return Qnil; /* not reached */
}
+/*
+ * call-seq:
+ * enum.join(sep=$,) -> str
+ *
+ * Returns a string created by converting each element of the
+ * <i>enum</i> to a string, separated by <i>sep</i>.
+ */
+
static VALUE
enum_join(int argc, VALUE *argv, VALUE obj)
{