From 1eed665a5ea791646893244f1447294f1333519e Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 6 Oct 2007 14:17:35 +0000 Subject: * 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 --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index d53476975..8210f8dcb 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 str as an - * integer base base (2, 8, 10, or 16). Extraneous characters past the + * integer base base (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 str, 0 is returned. This method never raises an * exception. -- cgit