| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Adds documentation for calling `String#to_i(0)`. Only today I learned that if
`#to_i` is passed with an argument `0`, it will honor radix indicators ('0b',
'0o', '0d', '0x') at the beginning of the string.
| Back | FazBrowse Home | New Git URL |
Description
Adds documentation for calling String#to_i(0). Only today I learned that if
String#to_i is passed with an argument 0, it will honor radix indicators
(0b, 0o, 0d, 0x) at the beginning of the string.