fixed spacing

This commit is contained in:
James Lopez 2016-09-01 12:06:13 +02:00
parent cb4ec41fd3
commit 74cefffd06
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ module ExportFileHelper
end
end
#Return true if the hash has a key containing a sensitive word
# Return true if the hash has a key containing a sensitive word
def object_contains_key?(object, sensitive_key_word)
object.is_a?(Hash) && object.keys.any? { |key| key.include?(sensitive_key_word) }
end