Files
elixir-koans/lib/elixir_koans.ex
2017-12-13 09:43:08 -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