Being even more Ruby 2.1-friendly

This commit is contained in:
Andy Meneely
2015-10-13 14:02:22 -04:00
parent 4be222a915
commit c976772b9e
+1 -1
View File
@@ -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?