Mega Code Archive

 
Categories / Ruby / Language Basics
 

Octal integers string format

puts '%o' % 10         # => '12': octal integers