String Ruby

octal = "\000\001\010\020"
octal.each_byte { |x| puts x }