From c976772b9eac714f37cd49386cf89b4ee532e5ee Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Tue, 13 Oct 2015 14:02:11 -0400 Subject: [PATCH] Being even more Ruby 2.1-friendly --- lib/squib/api/data.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/squib/api/data.rb b/lib/squib/api/data.rb index 86e6e5b..97ec66d 100644 --- a/lib/squib/api/data.rb +++ b/lib/squib/api/data.rb @@ -77,7 +77,7 @@ module Squib hash = Hash.new table.headers.each do |header| new_header = header.to_s - new_header.strip! if import.strip? + new_header = new_header.strip if import.strip? hash[new_header] ||= table[header] end if import.strip?