Hash uses except not without

This commit is contained in:
David Heinemeier Hansson
2023-01-20 14:37:43 +01:00
parent af22c32c94
commit ef9259fdd8

View File

@@ -76,7 +76,7 @@ class Mrsk::Configuration::Role
if config.servers.is_a?(Array) || config.servers[name].is_a?(Array)
{ }
else
config.servers[name].without("hosts")
config.servers[name].except("hosts")
end
end
end