aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-06 14:17:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-06 14:17:35 +0000
commit026568c9156b1ba2a153b4a6d594ea590343c1bb (patch)
tree9d098b3708dccadf7a9587254c6f147551591779 /string.c
parent68bcdf4c7ee41b73d165c78fe320c7a22d778a19 (diff)
downloadruby-026568c9156b1ba2a153b4a6d594ea590343c1bb.tar.gz
* string.c (rb_str_to_i): update RDoc since base can be any value
between 2 and 36. [ruby-talk:272879] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index d53476975d..8210f8dcbc 100644
--- a/string.c
+++ b/string.c
@@ -2765,7 +2765,7 @@ rb_str_include(VALUE str, VALUE arg)
* 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.