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 | 88b0c8c8bc85d785289e1d4e3dd3147d416ab6d7 (patch) | |
tree | af3012ea94b125585542723ac70e12cfcce2bb59 /enum.c | |
parent | c3987956760d43c4f4a938d9a034b5ca757bcd57 (diff) | |
download | ruby-88b0c8c8bc85d785289e1d4e3dd3147d416ab6d7.tar.gz ruby-88b0c8c8bc85d785289e1d4e3dd3147d416ab6d7.tar.xz ruby-88b0c8c8bc85d785289e1d4e3dd3147d416ab6d7.zip |
* enum.c (enum_join): added rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/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) { |