Mega Code Archive
Categories
/
Ruby
/
Number
Convert string to integer (oct)
'405'.to_i(8) # => 261