summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGeremia Taglialatela <[email protected]>2023-05-25 16:55:03 +0200
committerGeremia Taglialatela <[email protected]>2023-05-25 16:55:03 +0200
commit6fe78597ad69742f0343fec0d689183c99cd6b08 (patch)
tree3afec30b0814df781a5e83dfdfce3bf37aedbed1 /lib
parent63a6edf1e191cf91fb80717ebae67c78af0d7db5 (diff)
downloadcaxlsx-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.rb6
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