* 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
8
enum.c
8
enum.c
@ -1803,6 +1803,14 @@ enum_cycle(int argc, VALUE *argv, VALUE obj)
|
|||||||
return Qnil; /* not reached */
|
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
|
static VALUE
|
||||||
enum_join(int argc, VALUE *argv, VALUE obj)
|
enum_join(int argc, VALUE *argv, VALUE obj)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user