diff options
| author | Zsolt Kozaroczy <[email protected]> | 2023-05-31 17:19:35 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-31 17:19:35 +0200 |
| commit | ad87c51bf8c8f59a36514bb95dc6d3a582c6b2fd (patch) | |
| tree | 1a666e99ccebefa4be1df5655b96f9f1337df794 /lib/axlsx/workbook/worksheet/pivot_table.rb | |
| parent | cbcf330ea266c96861e4029aaea6be1063862900 (diff) | |
| parent | 42594ea9e486d3b0fe9c84ba1fc59140bb59439f (diff) | |
| download | caxlsx-ad87c51bf8c8f59a36514bb95dc6d3a582c6b2fd.tar.gz caxlsx-ad87c51bf8c8f59a36514bb95dc6d3a582c6b2fd.zip | |
Merge pull request #270 from tagliala/chore/use-ruby-19-hash-syntax
Use Ruby 1.9 hash syntax
Diffstat (limited to 'lib/axlsx/workbook/worksheet/pivot_table.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/pivot_table.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/pivot_table.rb b/lib/axlsx/workbook/worksheet/pivot_table.rb index 44a50f19..a75842cd 100644 --- a/lib/axlsx/workbook/worksheet/pivot_table.rb +++ b/lib/axlsx/workbook/worksheet/pivot_table.rb @@ -124,7 +124,7 @@ module Axlsx @data = [] v.each do |data_field| if data_field.is_a? String - data_field = { :ref => data_field } + data_field = { ref: data_field } end data_field.each do |key, value| if key == :num_fmt |
