diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-15 04:49:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-15 04:49:59 +0000 |
commit | 365fae4dd9849e21c1494016bbd18f01d1b015df (patch) | |
tree | 6c618c94c8f261906d2544badd37d943936cbd4c /string.c | |
parent | 1178a6fdba491548089c1765c2099bd9ce538bcc (diff) |
string.c: radix indicators [ci skip]
* string.c (rb_str_oct): [DOC] mention radix indicators.
[ruby-core:71310] [Bug #11648]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8033,6 +8033,9 @@ rb_str_hex(VALUE str) * "-377".oct #=> -255 * "bad".oct #=> 0 * "0377bad".oct #=> 255 + * + * If +str+ starts with <code>0</code>, radix indicators are hornored. + * See Kernel#Integer. */ static VALUE |