summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/defined_name.rb
diff options
context:
space:
mode:
authorZsolt Kozaroczy <[email protected]>2023-06-12 09:42:32 +0200
committerGitHub <[email protected]>2023-06-12 09:42:32 +0200
commit506415434e1f5584001ab79ac9f028e5ba228ef9 (patch)
tree63a893a73f1cc51003edf218fed178bb93c604d7 /lib/axlsx/workbook/defined_name.rb
parentcfb516062de3d0725b3245cc328f96d702d662d3 (diff)
parentee14c1bf5c6aaa96867eb4b90b510f91c3a614f8 (diff)
downloadcaxlsx-506415434e1f5584001ab79ac9f028e5ba228ef9.tar.gz
caxlsx-506415434e1f5584001ab79ac9f028e5ba228ef9.zip
Merge pull request #281 from tagliala/chore/fix-colon-method-call
Fix safe Style/ColonMethodCall offenses
Diffstat (limited to 'lib/axlsx/workbook/defined_name.rb')
-rw-r--r--lib/axlsx/workbook/defined_name.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/defined_name.rb b/lib/axlsx/workbook/defined_name.rb
index 38669076..3f6a4cae 100644
--- a/lib/axlsx/workbook/defined_name.rb
+++ b/lib/axlsx/workbook/defined_name.rb
@@ -109,7 +109,7 @@ module Axlsx
# The local sheet index (0-based)
# @param [Integer] value the unsigned integer index of the sheet this defined_name applies to.
def local_sheet_id=(value)
- Axlsx::validate_unsigned_int(value)
+ Axlsx.validate_unsigned_int(value)
@local_sheet_id = value
end