diff options
| author | Johnny Shields <[email protected]> | 2023-04-13 00:01:36 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-12 17:01:36 +0200 |
| commit | e548f377932207130cec4ac257a3907385d547d5 (patch) | |
| tree | 8bccecc9ae3bbedced3bacca40543137b365c005 /lib/axlsx/workbook/worksheet/row.rb | |
| parent | 92a38e44ca78f013dda583f3db2c7721e6e2a8c7 (diff) | |
| download | caxlsx-e548f377932207130cec4ac257a3907385d547d5.tar.gz caxlsx-e548f377932207130cec4ac257a3907385d547d5.zip | |
Small fixes: whitespace, typos, ordering, etc. (#188)
Diffstat (limited to 'lib/axlsx/workbook/worksheet/row.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/row.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/axlsx/workbook/worksheet/row.rb b/lib/axlsx/workbook/worksheet/row.rb index 453e1e66..97a7adab 100644 --- a/lib/axlsx/workbook/worksheet/row.rb +++ b/lib/axlsx/workbook/worksheet/row.rb @@ -103,14 +103,14 @@ module Axlsx c end - # sets the color for every cell in this row + # Sets the color for every cell in this row. def color=(color) each_with_index do |cell, index| cell.color = color.is_a?(Array) ? color[index] : color end end - # sets the style for every cell in this row + # Sets the style for every cell in this row. def style=(style) each_with_index do |cell, index| cell.style = style.is_a?(Array) ? style[index] : style |
