Skip to content

Conversation

rringler
Copy link

@rringler rringler commented Mar 4, 2017

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant