summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/line_3D_chart.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-04-08 11:53:12 +0200
committerGeremia Taglialatela <[email protected]>2023-04-08 11:53:12 +0200
commit55526805cf28cc91a22df5811b26cd23bdefa8d3 (patch)
tree2cbc6403b385078b0ed5e275c49f0c60522bdd16 /lib/axlsx/drawing/line_3D_chart.rb
parentacf00d356494ef504c3de0e4a0db6b25f2bd7636 (diff)
downloadcaxlsx-55526805cf28cc91a22df5811b26cd23bdefa8d3.tar.gz
caxlsx-55526805cf28cc91a22df5811b26cd23bdefa8d3.zip
Fix space-related offenses
- Layout/SpaceAfterComma - Layout/SpaceAroundEqualsInParameterDefault - Layout/SpaceAroundOperators - Layout/SpaceBeforeBlockBraces - Layout/SpaceInsideBlockBraces - Layout/SpaceInsideHashLiteralBraces - Layout/SpaceInsideParens
Diffstat (limited to 'lib/axlsx/drawing/line_3D_chart.rb')
-rw-r--r--lib/axlsx/drawing/line_3D_chart.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/drawing/line_3D_chart.rb b/lib/axlsx/drawing/line_3D_chart.rb
index da62851f..d45a417f 100644
--- a/lib/axlsx/drawing/line_3D_chart.rb
+++ b/lib/axlsx/drawing/line_3D_chart.rb
@@ -38,9 +38,9 @@ module Axlsx
# @see Chart
# @see lineChart
# @see View3D
- def initialize(frame, options={})
+ def initialize(frame, options = {})
@gap_depth = nil
- @view_3D = View3D.new({:r_ang_ax=>1}.merge(options))
+ @view_3D = View3D.new({ :r_ang_ax => 1 }.merge(options))
super(frame, options)
axes.add_axis :ser_axis, SerAxis
end
@@ -48,7 +48,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=