summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStefan Daschek <[email protected]>2022-09-21 20:36:44 +0200
committerStefan Daschek <[email protected]>2022-09-21 20:40:13 +0200
commit9b6a78f43b9415bd155bddf6a6d872f5d5555595 (patch)
treea841afb5248333c62f9c0be30611062e509340c9
parent765b8e165f4f5fd62d805c49c967cdbf8f2fd6a3 (diff)
downloadcaxlsx-9b6a78f43b9415bd155bddf6a6d872f5d5555595.tar.gz
caxlsx-9b6a78f43b9415bd155bddf6a6d872f5d5555595.zip
Update lib/axlsx/util/constants.rb
Co-authored-by: Geremia Taglialatela <[email protected]>
-rw-r--r--lib/axlsx/util/constants.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/util/constants.rb b/lib/axlsx/util/constants.rb
index f1c00e44..2284a8e3 100644
--- a/lib/axlsx/util/constants.rb
+++ b/lib/axlsx/util/constants.rb
@@ -278,7 +278,7 @@ module Axlsx
WORKSHEET_MAX_NAME_LENGTH = 31
# worksheet name forbidden characters
- WORKSHEET_NAME_FORBIDDEN_CHARS = '[]*/\?:'.freeze
+ WORKSHEET_NAME_FORBIDDEN_CHARS = '[]*/\?:'.chars.freeze
# error messages RestrictionValidor
ERR_RESTRICTION = "Invalid Data: %s. %s must be one of %s.".freeze