RuboCop complains when I use Hash.new
, and assumes that I use a hash literal instead. Is there a way to get RuboCop to ignore usage Hash.new
? In particular, can I change the configuration .rubocop.yml
to allow use Hash.new
without involving any complaints?
user6596162
source
share