summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/line_3D_chart.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-31 17:31:59 +0200
committerGeremia Taglialatela <[email protected]>2023-05-31 17:31:59 +0200
commit4e555613a021639c12be713c438bb124622c72d3 (patch)
treee629fb11f494e85fa1e6205792111b83474d45d9 /lib/axlsx/drawing/line_3D_chart.rb
parentad87c51bf8c8f59a36514bb95dc6d3a582c6b2fd (diff)
downloadcaxlsx-4e555613a021639c12be713c438bb124622c72d3.tar.gz
caxlsx-4e555613a021639c12be713c438bb124622c72d3.zip
Remove redundant parentheses
- Style/ParenthesesAroundCondition - Style/RedundantParentheses - Style/TernaryParentheses `Style/ParenthesesAroundCondition` may be questionable, but a majority of comparison where not using parentheses, so offenses have been fixed for uniformity across the codebase
Diffstat (limited to 'lib/axlsx/drawing/line_3D_chart.rb')
-rw-r--r--lib/axlsx/drawing/line_3D_chart.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/line_3D_chart.rb b/lib/axlsx/drawing/line_3D_chart.rb
index 024ece0a..54f0170f 100644
--- a/lib/axlsx/drawing/line_3D_chart.rb
+++ b/lib/axlsx/drawing/line_3D_chart.rb
@@ -50,7 +50,7 @@ module Axlsx
# @see gapDepth
def gap_depth=(v)
RegexValidator.validate "Line3DChart.gapWidth", GAP_AMOUNT_PERCENT, v
- @gap_depth = (v)
+ @gap_depth = v
end
alias :gapDepth= :gap_depth=