diff options
| author | Zsolt Kozaroczy <[email protected]> | 2023-05-31 09:07:58 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-31 09:07:58 +0200 |
| commit | cbd31927743cf502f9eb85473d68059b31bbf2f7 (patch) | |
| tree | d2767dc7ac287c4a7b15b13a1749a4fc0825a426 /lib | |
| parent | c1061e34e294f87030128abf1730fcf4a5ecb406 (diff) | |
| parent | 6fe78597ad69742f0343fec0d689183c99cd6b08 (diff) | |
| download | caxlsx-cbd31927743cf502f9eb85473d68059b31bbf2f7.tar.gz caxlsx-cbd31927743cf502f9eb85473d68059b31bbf2f7.zip | |
Merge pull request #259 from tagliala/chore/enable-naming-cops
Enable Naming cops
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/axlsx/util/simple_typed_list.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/util/simple_typed_list.rb b/lib/axlsx/util/simple_typed_list.rb index e74e25e3..30cfd2a5 100644 --- a/lib/axlsx/util/simple_typed_list.rb +++ b/lib/axlsx/util/simple_typed_list.rb @@ -91,12 +91,12 @@ module Axlsx end # join operator - # @param [Array] v the array to join + # @param [Array] other the array to join # @raise [ArgumentError] if any of the values being joined are not # one of the allowed types # @return [SimpleTypedList] - def +(v) - v.each do |item| + def +(other) + other.each do |item| self << item end super |
