[前][次][番号順一覧][スレッド一覧]

ruby-changes:5580

From: akr <ko1@a...>
Date: Wed, 11 Jun 2008 08:24:03 +0900 (JST)
Subject: [ruby-changes:5580] Ruby:r17086 (trunk): describe %% in rdoc.

akr	2008-06-11 08:21:26 +0900 (Wed, 11 Jun 2008)

  New Revision: 17086

  Modified files:
    trunk/sprintf.c

  Log:
    describe %% in rdoc.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/sprintf.c?r1=17086&r2=17085&diff_format=u

Index: sprintf.c
===================================================================
--- sprintf.c	(revision 17085)
+++ sprintf.c	(revision 17086)
@@ -204,6 +204,7 @@
  *        s   | Argument is a string to be substituted.  If the format
  *            | sequence contains a precision, at most that many characters
  *            | will be copied.
+ *        %   | A percent sign itself will be displayed.  No argument taken.
  *     
  *  The flags modifies the behavior of the formats.
  *  The flag characters are:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]