Ruby string-methods reference.
Converts a string to an integer by interpreting leading characters as octal. Handles 0b/0x prefixes, negative numbers, and stops at the first non-octal digit