Being even more Ruby 2.1-friendly
parent
4be222a915
commit
c976772b9e
|
|
@ -77,7 +77,7 @@ module Squib
|
||||||
hash = Hash.new
|
hash = Hash.new
|
||||||
table.headers.each do |header|
|
table.headers.each do |header|
|
||||||
new_header = header.to_s
|
new_header = header.to_s
|
||||||
new_header.strip! if import.strip?
|
new_header = new_header.strip if import.strip?
|
||||||
hash[new_header] ||= table[header]
|
hash[new_header] ||= table[header]
|
||||||
end
|
end
|
||||||
if import.strip?
|
if import.strip?
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue