diff options
| author | Geremia Taglialatela <[email protected]> | 2023-05-25 16:55:03 +0200 |
|---|---|---|
| committer | Geremia Taglialatela <[email protected]> | 2023-05-25 16:55:03 +0200 |
| commit | 6fe78597ad69742f0343fec0d689183c99cd6b08 (patch) | |
| tree | 3afec30b0814df781a5e83dfdfce3bf37aedbed1 /lib | |
| parent | 63a6edf1e191cf91fb80717ebae67c78af0d7db5 (diff) | |
| download | caxlsx-6fe78597ad69742f0343fec0d689183c99cd6b08.tar.gz caxlsx-6fe78597ad69742f0343fec0d689183c99cd6b08.zip | |
Enable Naming cops
Also fix safe minor offenses
- Naming/BinaryOperatorParameterName
- Naming/HeredocDelimiterCase
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 c3910fca..c14aef03 100644 --- a/lib/axlsx/util/simple_typed_list.rb +++ b/lib/axlsx/util/simple_typed_list.rb @@ -85,12 +85,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 |
