summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/two_cell_anchor.rb
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-31 11:04:13 +0200
committerGeremia Taglialatela <[email protected]>2023-05-31 11:04:13 +0200
commit42594ea9e486d3b0fe9c84ba1fc59140bb59439f (patch)
tree1a666e99ccebefa4be1df5655b96f9f1337df794 /lib/axlsx/drawing/two_cell_anchor.rb
parentcbcf330ea266c96861e4029aaea6be1063862900 (diff)
downloadcaxlsx-42594ea9e486d3b0fe9c84ba1fc59140bb59439f.tar.gz
caxlsx-42594ea9e486d3b0fe9c84ba1fc59140bb59439f.zip
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.rb2
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