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/pie_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/pie_series.rb')
| -rw-r--r-- | lib/axlsx/drawing/pie_series.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/pie_series.rb b/lib/axlsx/drawing/pie_series.rb index cce79648..091267f4 100644 --- a/lib/axlsx/drawing/pie_series.rb +++ b/lib/axlsx/drawing/pie_series.rb @@ -31,7 +31,7 @@ module Axlsx @explosion = nil @colors = [] super(chart, options) - self.labels = AxDataSource.new(:data => options[:labels]) unless options[:labels].nil? + self.labels = AxDataSource.new(data: options[:labels]) unless options[:labels].nil? self.data = NumDataSource.new(options) unless options[:data].nil? end |
