Skip to content

Commit

Permalink
Revert "Using a separate process"
Browse files Browse the repository at this point in the history
This reverts commit 1edd49e.
  • Loading branch information
BjRo committed Jan 19, 2014
1 parent 1edd49e commit ae8a2e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
2 changes: 1 addition & 1 deletion lib/ap.ex
Expand Up @@ -6,6 +6,6 @@ defmodule AP do
end end


def ap(data, options // []) do def ap(data, options // []) do
AP.Printer.print(data, options) IO.puts AP.Format.format(data, options)
end end
end end
19 changes: 0 additions & 19 deletions lib/ap/printer.ex

This file was deleted.

2 changes: 1 addition & 1 deletion lib/ap/supervisor.ex
Expand Up @@ -7,7 +7,7 @@ defmodule AP.Supervisor do


def init([]) do def init([]) do
children = [ children = [
worker(AP.Printer, []) # worker(Ap.Worker, [])
] ]


supervise(children, strategy: :one_for_one) supervise(children, strategy: :one_for_one)
Expand Down

0 comments on commit ae8a2e3

Please sign in to comment.