This commit is contained in:
2024-03-11 11:30:10 -04:00
parent 4265743d75
commit d46a9b8e9a
10 changed files with 261 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
defmodule TwoFer do
@doc """
Two-fer or 2-fer is short for two for one. One for you and one for me.
"""
@spec two_fer(String.t()) :: String.t()
def two_fer(name \\ "you") when is_binary(name) do
"One for #{name}, one for me."
end
end