diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-05 23:15:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-05 23:15:51 +0000 |
commit | e86d1ce77e43df78decae079eef94fc9099cd9f1 (patch) | |
tree | af3012ea94b125585542723ac70e12cfcce2bb59 /enum.c | |
parent | 2db86440394caa983103ddab5233778684bb5731 (diff) | |
download | ruby-e86d1ce77e43df78decae079eef94fc9099cd9f1.tar.gz |
* enum.c (enum_join): added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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) { |