Adds the ruby each method for iterating over the entries array