summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx.rb
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-07-04 09:36:20 +0200
committerGitHub <[email protected]>2023-07-04 09:36:20 +0200
commit76e9342020e5f2a97501b8e157fad7f043200da6 (patch)
tree908d613ca7b07634457e7394aa257d2e84a46997 /lib/axlsx.rb
parent6fa057cca9a66d9db74710d51787b515d61951f9 (diff)
parent1ef7abad9022e9aa591e039a0fc9c7545b5c022d (diff)
downloadcaxlsx-76e9342020e5f2a97501b8e157fad7f043200da6.tar.gz
caxlsx-76e9342020e5f2a97501b8e157fad7f043200da6.zip
Merge pull request #290 from tagliala/chore/fix-preferred-hash-method-offense
Fix Style/PreferredHashMethods offense
Diffstat (limited to 'lib/axlsx.rb')
-rw-r--r--lib/axlsx.rb2
1 files changed, 1 insertions, 1 deletions
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