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/drawing/axis.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/drawing/axis.rb')
| -rw-r--r-- | lib/axlsx/drawing/axis.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/axis.rb b/lib/axlsx/drawing/axis.rb index 10ddce1f..dfef7890 100644 --- a/lib/axlsx/drawing/axis.rb +++ b/lib/axlsx/drawing/axis.rb @@ -15,7 +15,7 @@ module Axlsx @id = rand(8**8) @format_code = "General" @delete = @label_rotation = 0 - @scaling = Scaling.new(:orientation => :minMax) + @scaling = Scaling.new(orientation: :minMax) @title = @color = nil self.ax_pos = :b self.tick_lbl_pos = :nextTo |
