ruby-changes:12274
From: nobu <ko1@a...>
Date: Mon, 6 Jul 2009 08:16:00 +0900 (JST)
Subject: [ruby-changes:12274] Ruby:r23965 (trunk): * enum.c (enum_join): added rdoc.
nobu 2009-07-06 08:15:51 +0900 (Mon, 06 Jul 2009) New Revision: 23965 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23965 Log: * enum.c (enum_join): added rdoc. Modified files: trunk/enum.c Index: enum.c =================================================================== --- enum.c (revision 23964) +++ enum.c (revision 23965) @@ -1803,6 +1803,14 @@ 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) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/