diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-06 14:17:35 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-06 14:17:35 +0000 |
| commit | 1eed665a5ea791646893244f1447294f1333519e (patch) | |
| tree | 9d098b3708dccadf7a9587254c6f147551591779 | |
| parent | a9ae70764feea64988e60febf7d1a39556717865 (diff) | |
| download | ruby-1eed665a5ea791646893244f1447294f1333519e.tar.gz ruby-1eed665a5ea791646893244f1447294f1333519e.tar.xz ruby-1eed665a5ea791646893244f1447294f1333519e.zip | |
* string.c (rb_str_to_i): update RDoc since base can be any value
between 2 and 36. [ruby-talk:272879]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | string.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sat Oct 6 23:14:54 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * 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@atdot.net> * cont.c (cont_free): check Fiber or Continuation. @@ -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. |
