diff options
| author | Geremia Taglialatela <[email protected]> | 2023-04-07 23:50:27 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-04-07 23:50:27 +0200 |
| commit | ab7ef765bada307754b50c17fa63b5ae353a57fa (patch) | |
| tree | b1e35447ad159da19501b1d8d2ac429d1ae48000 /lib/axlsx/workbook/worksheet/cell.rb | |
| parent | 1534eba0300a256a827990ba12f3297c5eda3514 (diff) | |
| download | caxlsx-ab7ef765bada307754b50c17fa63b5ae353a57fa.tar.gz caxlsx-ab7ef765bada307754b50c17fa63b5ae353a57fa.zip | |
Fix Layout/SpaceAroundKeyword offenses
```
rubocop --only Layout/SpaceAroundKeyword -a
```
Diffstat (limited to 'lib/axlsx/workbook/worksheet/cell.rb')
| -rw-r--r-- | lib/axlsx/workbook/worksheet/cell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/cell.rb b/lib/axlsx/workbook/worksheet/cell.rb index f52006bd..24865b4d 100644 --- a/lib/axlsx/workbook/worksheet/cell.rb +++ b/lib/axlsx/workbook/worksheet/cell.rb @@ -366,7 +366,7 @@ module Axlsx def merge(target) start, stop = if target.is_a?(String) [self.r, target] - elsif(target.is_a?(Cell)) + elsif target.is_a?(Cell) Axlsx.sort_cells([self, target]).map { |c| c.r } end self.row.worksheet.merge_cells "#{start}:#{stop}" unless stop.nil? |
