I was wondering if there is a way to access the current index value when
using the each method to iterate over an array. For example,
@pancakes.each do |pancake|
How can I ask which is the current index value of pancake. I wish to
know in what position is the pancake object on the array without using a
local integer variable to count up.