ruby loop from the last array item

array = [1, 2, 3, 4, 5]

array.reverse_each do |item|
  puts item
end