how to convert ruby values to ascii code example Example: convert to ascii ruby "string".each_byte do |c| puts c end