Refactor by removing some redundant variables
target is already defined in the if clause below. There's no need to cast name to symbol. All methods that use name variable accept string or symbol
Showing
Please register or sign in to comment