-
Charlie Sharpsteen authored
The `Style/BracesAroundHashParameters` cop would flag "redundant" uses of braces to create hashes in Ruby method arguments. Ruby 2.7 requires these braces to disambiguate hash literals from keyword arguments and will issue warnings. The cop has been removed from RuboCop v0.80.0. See: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/ See: https://github.com/rubocop-hq/rubocop/pull/7643
Charlie Sharpsteen authoredThe `Style/BracesAroundHashParameters` cop would flag "redundant" uses of braces to create hashes in Ruby method arguments. Ruby 2.7 requires these braces to disambiguate hash literals from keyword arguments and will issue warnings. The cop has been removed from RuboCop v0.80.0. See: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/ See: https://github.com/rubocop-hq/rubocop/pull/7643
Loading