ruby-changes:2154
From: ko1@a...
Date: 6 Oct 2007 23:17:48 +0900
Subject: [ruby-changes:2154] matz - Ruby:r13645 (trunk): * string.c (rb_str_to_i): update RDoc since base can be any value
matz 2007-10-06 23:17:35 +0900 (Sat, 06 Oct 2007)
New Revision: 13645
Modified files:
trunk/ChangeLog
trunk/string.c
Log:
* string.c (rb_str_to_i): update RDoc since base can be any value
between 2 and 36. [ruby-talk:272879]
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=13645&r2=13644
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13645&r2=13644
Index: ChangeLog
===================================================================
--- ChangeLog (revision 13644)
+++ ChangeLog (revision 13645)
@@ -1,3 +1,8 @@
+Sat Oct 6 23:14:54 2007 Yukihiro Matsumoto <matz@r...>
+
+ * string.c (rb_str_to_i): update RDoc since base can be any value
+ between 2 and 36. [ruby-talk:272879]
+
Sat Oct 6 16:24:02 2007 Koichi Sasada <ko1@a...>
* cont.c (cont_free): check Fiber or Continuation.
Index: string.c
===================================================================
--- string.c (revision 13644)
+++ string.c (revision 13645)
@@ -2765,7 +2765,7 @@
* str.to_i(base=10) => integer
*
* Returns the result of interpreting leading characters in <i>str</i> as an
- * integer base <i>base</i> (2, 8, 10, or 16). Extraneous characters past the
+ * integer base <i>base</i> (between 2 and 36). Extraneous characters past the
* end of a valid number are ignored. If there is not a valid number at the
* start of <i>str</i>, <code>0</code> is returned. This method never raises an
* exception.
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml