From d662c274c04d16da56fdf17040acc1cd1f21068b Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Sun, 14 May 2023 12:10:29 -0600 Subject: [PATCH] change unused `map` to `each` --- assets/app/view/tiles_page.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/app/view/tiles_page.rb b/assets/app/view/tiles_page.rb index c0a3a213fa..33d455c350 100644 --- a/assets/app/view/tiles_page.rb +++ b/assets/app/view/tiles_page.rb @@ -270,7 +270,7 @@ def render_test_tiles game_class = load_game_class(title) else fixtures[nil][nil].each do |hex_or_tile, opts| - %i[flat pointy].map do |layout_| + %i[flat pointy].each do |layout_| rendered_test_tiles.concat( render_tile_blocks(hex_or_tile, layout: layout_, scale: scale, rotations: @rotations, **opts) )