lib/boris/helpers/hash.rb in boris-1.0.1 vs lib/boris/helpers/hash.rb in boris-1.0.2

- old
+ new

@@ -1,8 +1,8 @@ class Hash - def strip_string_values_in_hash + def clean_string_values_in_hash self.each_pair do |key, val| - val.strip_string_values_in_array if val.is_a?(Array) - self[key] = val.strip if val.is_a?(String) + val.clean_string_values_in_array if val.is_a?(Array) + self[key] = val.strip.clean_string if val.is_a?(String) end end end \ No newline at end of file