Current section
Files
Jump to
Current section
Files
lib/butler_cowsay.ex
defmodule ButlerCowsay do
def respond("cowsay " <> say, state) do
resp_string = say |> Cowsay.say
{:reply, {:code, resp_string}, state}
end
end