I am new Elixir and really enjoying it. I hit a wall when trying to use functions with same name. Here is an example
defmodule ChangeName do
def convert(:captilize, name), do: String.capitalize(name)
def convert(:lower, name), do: String.downcase(name)
end
I am using iex and the basic calls where ChangeName.convert.captilize but how do I run these functions?
Thanks