Remove unused variable in code example [ci-skip]

This commit is contained in:
Jonathan Hefner 2023-11-24 17:52:33 -06:00
parent 4bfa69a785
commit ed694bfe0a
1 changed files with 5 additions and 3 deletions

View File

@ -361,9 +361,11 @@ module ActionView
#
#
# # Cycle CSS classes for rows, and text colors for values within each row
# @items = x = [{first: 'Robert', middle: 'Daniel', last: 'James'},
# {first: 'Emily', middle: 'Shannon', maiden: 'Pike', last: 'Hicks'},
# {first: 'June', middle: 'Dae', last: 'Jones'}]
# @items = [
# { first: "Robert", middle: "Daniel", last: "James" },
# { first: "Emily", middle: "Shannon", maiden: "Pike", last: "Hicks" },
# { first: "June", middle: "Dae", last: "Jones" },
# ]
# <% @items.each do |item| %>
# <tr class="<%= cycle("odd", "even", name: "row_class") -%>">
# <td>