0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00

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
def validation_result(key, value, operator)
result = nil
if operator.is_a?(Hash) && (operator = operator[value.to_sym]).present?
if value == "present"
result = key.public_send(operator)