Skip to content

Commit

Permalink
Remove redundant initialize_dup line
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim committed Aug 11, 2024
1 parent e204f8a commit e38049c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/loadout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e38049c

Please sign in to comment.