diff options
| author | randym <[email protected]> | 2017-04-01 18:42:23 +0900 |
|---|---|---|
| committer | randym <[email protected]> | 2017-04-01 18:42:23 +0900 |
| commit | c1f8dc9bec7c0a58fc53fb56fd47d4de373e7bc1 (patch) | |
| tree | 6ca8f7404bc402de194e0d8f4d5a4d7c0ca29ff0 | |
| parent | 7435a80ca3d64603486dd03ed19fadfbb3b481b3 (diff) | |
| download | caxlsx-c1f8dc9bec7c0a58fc53fb56fd47d4de373e7bc1.tar.gz caxlsx-c1f8dc9bec7c0a58fc53fb56fd47d4de373e7bc1.zip | |
fix(options): fix parsing for start_at end_at
| -rw-r--r-- | lib/axlsx/drawing/one_cell_anchor.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/axlsx/drawing/one_cell_anchor.rb b/lib/axlsx/drawing/one_cell_anchor.rb index 1ae7c1b9..ffa10a7d 100644 --- a/lib/axlsx/drawing/one_cell_anchor.rb +++ b/lib/axlsx/drawing/one_cell_anchor.rb @@ -7,7 +7,7 @@ module Axlsx class OneCellAnchor include Axlsx::OptionsParser - + # Creates a new OneCellAnchor object and an Pic associated with it. # @param [Drawing] drawing # @option options [Array] start_at the col, row to start at @@ -23,6 +23,7 @@ module Axlsx drawing.anchors << self @from = Marker.new parse_options options + start_at(*options[:start_at]) if options[:start_at] @object = Pic.new(self, options) end |
