Files
elixir-koans/lib/elixir_koans.ex
2017-07-28 12:56:02 -05:00

17 lines
312 B
Elixir

defmodule ElixirKoans do
use Application
alias Options
def start(_type, _args) do
import Supervisor.Spec
children = [
worker(Display, []),
worker(Tracker, [])
]
opts = [strategy: :one_for_one, name: ElixirKoans.Supervisor]
Supervisor.start_link(children, opts)
end
end