Keyword.replace!/3
defmodule Keyword do
def replace!(keywords, key, value)
end
Alters the value stored under key
to value, but only if the entry key
already exists in keywords.
If key
is not present in keywords
, a KeyError
exception is raised.