From e38049c83e9befbe0a90de476f02922d3e17dbef Mon Sep 17 00:00:00 2001 From: Max Chernyak Date: Sun, 11 Aug 2024 01:53:05 -0400 Subject: [PATCH] Remove redundant initialize_dup line --- lib/loadout.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/loadout.rb b/lib/loadout.rb index 39002d5..4612531 100644 --- a/lib/loadout.rb +++ b/lib/loadout.rb @@ -67,7 +67,6 @@ def float = dup.tap { _1.type = :float } def list(sep = DEFAULT_LIST_SEP) = dup.tap { _1.type = [:list, sep] } def initialize_dup(other) - @creds = other.instance_variable_get(:@creds) @type = other.instance_variable_get(:@type).dup @prefix_stack = other.instance_variable_get(:@prefix_stack).dup @lookup_list = other.instance_variable_get(:@lookup_list).dup