Ruby masing -masing char dengan indeks

length = sentence.length
sentence.each_char.with_index(1){|char, i|
  if i == length
    ...
  end
  
Terrible Turkey