diff options
| author | Geremia Taglialatela <[email protected]> | 2023-05-31 11:04:13 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-31 11:04:13 +0200 |
| commit | 42594ea9e486d3b0fe9c84ba1fc59140bb59439f (patch) | |
| tree | 1a666e99ccebefa4be1df5655b96f9f1337df794 /lib/axlsx/drawing/area_series.rb | |
| parent | cbcf330ea266c96861e4029aaea6be1063862900 (diff) | |
| download | caxlsx-42594ea9e486d3b0fe9c84ba1fc59140bb59439f.tar.gz caxlsx-42594ea9e486d3b0fe9c84ba1fc59140bb59439f.zip | |
Use Ruby 1.9 hash syntax
Diffstat (limited to 'lib/axlsx/drawing/area_series.rb')
| -rw-r--r-- | lib/axlsx/drawing/area_series.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/area_series.rb b/lib/axlsx/drawing/area_series.rb index afaf5ea0..c43fe929 100644 --- a/lib/axlsx/drawing/area_series.rb +++ b/lib/axlsx/drawing/area_series.rb @@ -41,7 +41,7 @@ module Axlsx @smooth = false @labels, @data = nil, nil super(chart, options) - @labels = AxDataSource.new(:data => options[:labels]) unless options[:labels].nil? + @labels = AxDataSource.new(data: options[:labels]) unless options[:labels].nil? @data = NumDataSource.new(options) unless options[:data].nil? end |
