aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/string.c b/string.c
index 1bd7582495..2c8089b94c 100644
--- a/string.c
+++ b/string.c
@@ -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