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/two_cell_anchor.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/two_cell_anchor.rb')
| -rw-r--r-- | lib/axlsx/drawing/two_cell_anchor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/two_cell_anchor.rb b/lib/axlsx/drawing/two_cell_anchor.rb index bebfd28c..f017311b 100644 --- a/lib/axlsx/drawing/two_cell_anchor.rb +++ b/lib/axlsx/drawing/two_cell_anchor.rb @@ -35,7 +35,7 @@ module Axlsx def initialize(drawing, options = {}) @drawing = drawing drawing.anchors << self - @from, @to = Marker.new, Marker.new(:col => 5, :row => 10) + @from, @to = Marker.new, Marker.new(col: 5, row: 10) parse_options options # bit of a hack to work around the fact that the coords for start at and end at |
