Drop pointless to_s call

This commit is contained in:
Jack Nagel 2014-07-18 11:43:37 -05:00
parent 598e7010f9
commit 3439703c65

View File

@ -83,7 +83,7 @@ module SharedEnvExtension
Array(keys).each do |key| Array(keys).each do |key|
next unless self[key] next unless self[key]
self[key] = self[key].sub(value, '') self[key] = self[key].sub(value, '')
delete(key) if self[key].to_s.empty? delete(key) if self[key].empty?
end if value end if value
end end