diff options
| author | Weston Ganger <[email protected]> | 2022-10-12 23:02:49 -0700 |
|---|---|---|
| committer | Weston Ganger <[email protected]> | 2022-10-12 23:10:08 -0700 |
| commit | 28d59a1dba55a9d98ceed26ac3bed6267cf18481 (patch) | |
| tree | 5b05b8926dd301f7bf0e714df848a5a209653348 /lib/axlsx/workbook/worksheet/worksheet.rb | |
| parent | 56f0977033d87c29fbcb5a20f0bd61d8fe3fb1ec (diff) | |
| download | caxlsx-28d59a1dba55a9d98ceed26ac3bed6267cf18481.tar.gz caxlsx-28d59a1dba55a9d98ceed26ac3bed6267cf18481.zip | |
Resolve all TODOs
Diffstat (limited to 'lib/axlsx/workbook/worksheet/worksheet.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/worksheet.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/workbook/worksheet/worksheet.rb b/lib/axlsx/workbook/worksheet/worksheet.rb index 527d2e71..a240e8e9 100644 --- a/lib/axlsx/workbook/worksheet/worksheet.rb +++ b/lib/axlsx/workbook/worksheet/worksheet.rb @@ -565,7 +565,7 @@ module Axlsx # Set the style for cells in a specific column # @param [String|Array] cell references - # @param styles TODO: how to specify this + # @param [Hash] styles def add_style(cell_refs, *styles) if !cell_refs.is_a?(Array) cell_refs = [cell_refs] @@ -586,8 +586,8 @@ module Axlsx # Set the style for cells in a specific column # @param [String|Array] cell references - # @param [Hash|Symbol] options TODO: describe this - def add_border(cell_refs, options = :all) ### TODO: will we support the :all argument + # @param [Hash|Array|Symbol] border options + def add_border(cell_refs, options = Axlsx::Border::EDGES) if !cell_refs.is_a?(Array) cell_refs = [cell_refs] end |
