summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/cat_axis.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/drawing/cat_axis.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/drawing/cat_axis.rb')
-rw-r--r--lib/axlsx/drawing/cat_axis.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/drawing/cat_axis.rb b/lib/axlsx/drawing/cat_axis.rb
index d26e3dc9..d078eb6f 100644
--- a/lib/axlsx/drawing/cat_axis.rb
+++ b/lib/axlsx/drawing/cat_axis.rb
@@ -45,15 +45,15 @@ module Axlsx
LBL_OFFSET_REGEX = /0*(([0-9])|([1-9][0-9])|([1-9][0-9][0-9])|1000)/.freeze
# @see tick_lbl_skip
- def tick_lbl_skip=(v) Axlsx::validate_unsigned_int(v); @tick_lbl_skip = v; end
+ def tick_lbl_skip=(v) Axlsx.validate_unsigned_int(v); @tick_lbl_skip = v; end
alias :tickLblSkip= :tick_lbl_skip=
# @see tick_mark_skip
- def tick_mark_skip=(v) Axlsx::validate_unsigned_int(v); @tick_mark_skip = v; end
+ def tick_mark_skip=(v) Axlsx.validate_unsigned_int(v); @tick_mark_skip = v; end
alias :tickMarkSkip= :tick_mark_skip=
# From the docs: This element specifies that this axis is a date or text axis based on the data that is used for the axis labels, not a specific choice.
- def auto=(v) Axlsx::validate_boolean(v); @auto = v; end
+ def auto=(v) Axlsx.validate_boolean(v); @auto = v; end
# specifies how the perpendicular axis is crossed
# must be one of [:ctr, :l, :r]