diff options
| -rw-r--r-- | .rubocop_todo.yml | 7 | ||||
| -rw-r--r-- | lib/axlsx.rb | 2 |
2 files changed, 1 insertions, 8 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index fcbc8c9f..1384f3c5 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -271,13 +271,6 @@ Style/PerlBackrefs: Exclude: - 'test/workbook/worksheet/tc_sheet_protection.rb' -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: short, verbose -Style/PreferredHashMethods: - Exclude: - - 'lib/axlsx.rb' - # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: same_as_string_literals, single_quotes, double_quotes diff --git a/lib/axlsx.rb b/lib/axlsx.rb index aeef2dfc..814900fd 100644 --- a/lib/axlsx.rb +++ b/lib/axlsx.rb @@ -33,7 +33,7 @@ require 'bigdecimal' require 'set' require 'time' -if Gem.loaded_specs.has_key?("axlsx_styler") +if Gem.loaded_specs.key?("axlsx_styler") raise StandardError, "Please remove `axlsx_styler` from your Gemfile, the associated functionality is now built-in to `caxlsx` directly." end |
