Files
elixir-koans/lib/elixir_koans.ex
2017-07-28 13:03:41 -05:00

18 lines
349 B
Elixir

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