my_string.chars do |c|
puts "%s %3d %02X" % [ c, c.ord, c.ord ]
end
Created
May 16, 2019 15:28
-
-
Save hadrienblanc/5f5f5e8fd9ce9decdd060d4112924633 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment