1
0
Fork 0

revert deletions of redundant spaces continued#3

Dieser Commit ist enthalten in:
Robert Barrow 2020-05-24 08:38:54 +01:00
Ursprung d3e7fceb56
Commit beed6a93fc

Datei anzeigen

@ -116,10 +116,10 @@ class CustomWizard::Mapper
end end
end end
end end
def validation_result(key, value, operator) def validation_result(key, value, operator)
result = nil result = nil
if operator.is_a?(Hash) && (operator = operator[value.to_sym]).present? if operator.is_a?(Hash) && (operator = operator[value.to_sym]).present?
if value == "present" if value == "present"
result = key.public_send(operator) result = key.public_send(operator)