From e50455bbcfe2f5740b9c1393773fa6f111c9319a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Mugnolo?= Date: Sat, 11 Nov 2023 12:48:56 -0500 Subject: [PATCH] Drop unused argument That's for another refactor, but we can drop it now. --- lib/inline_svg/static_asset_finder.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/inline_svg/static_asset_finder.rb b/lib/inline_svg/static_asset_finder.rb index 8df2cd9..6cd0f9e 100644 --- a/lib/inline_svg/static_asset_finder.rb +++ b/lib/inline_svg/static_asset_finder.rb @@ -9,7 +9,7 @@ class StaticAssetFinder class Asset attr_reader :filename - def initialize(filename, _asset_finder) + def initialize(filename) @filename = filename end @@ -32,7 +32,7 @@ class << self end def find_asset(filename) - Asset.new(filename, self) + Asset.new(filename) end def match?