Being even more Ruby 2.1-friendly
This commit is contained in:
@@ -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?
|
||||||
|
|||||||
Reference in New Issue
Block a user