From ed694bfe0a3a4b5e6b12b38f2a6a7453ab2e9e0e Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Fri, 24 Nov 2023 17:52:33 -0600 Subject: [PATCH] Remove unused variable in code example [ci-skip] --- actionview/lib/action_view/helpers/text_helper.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/actionview/lib/action_view/helpers/text_helper.rb b/actionview/lib/action_view/helpers/text_helper.rb index d9a63b92b3d58..959428787909d 100644 --- a/actionview/lib/action_view/helpers/text_helper.rb +++ b/actionview/lib/action_view/helpers/text_helper.rb @@ -361,9 +361,11 @@ def simple_format(text, html_options = {}, options = {}) # # # # 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| %> # "> #