mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enum.c (enum_join): added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2db8644039
commit
e86d1ce77e
1 changed files with 8 additions and 0 deletions
8
enum.c
8
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue