module ActionView::Helpers::TextHelper
def cycle(first_value, *values)
<% reset_cycle("colors") %>
<% end %>
<%= value %>
">
<%# Create a named cycle "colors" %>
<% item.values.each do |value| %>
<% @items.each do |item| %>
] %>
{ first: "June", middle: "Dae", last: "Jones" },
{ first: "Emily", middle: "Shannon", maiden: "Pike", last: "Hicks" },
{ first: "Robert", middle: "Daniel", last: "James" },
<% @items = [
<%# Cycle CSS classes for rows, and text colors for values within each row %>
<% end %>
<% @items.each do |item| %>