Closed sho-work closed 2 months ago
I encountered an issue where Hash.new [] triggered a violation of the RuboCop rule Style/EmptyLiteral. To address this, I revised the code.
Thank you for the PR, but it's already fixed in Rubocop. https://github.com/rubocop/rubocop/pull/13178
Summary
I encountered an issue where Hash.new [] triggered a violation of the RuboCop rule Style/EmptyLiteral. To address this, I revised the code.