From be02670a541443afe704711e244f576110be4db6 Mon Sep 17 00:00:00 2001 From: Kaelig Date: Fri, 14 May 2021 07:50:04 -0700 Subject: [PATCH] Convert array to string interpolation, use 'unless' rather than 'if x !=' --- performance/shopify/shop_filter.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/performance/shopify/shop_filter.rb b/performance/shopify/shop_filter.rb index b65f86c..1195136 100644 --- a/performance/shopify/shop_filter.rb +++ b/performance/shopify/shop_filter.rb @@ -18,11 +18,7 @@ module ShopFilter end def stylesheet_tag(url, media = "all") - html = [] - html << %(" - html.join(" ") + %() end def link_to(link, url, title = "")