Collect all intro printing into display

This commit is contained in:
Felipe Sere
2016-05-10 22:57:00 +01:00
parent 3d79284aab
commit 751f849585
3 changed files with 13 additions and 12 deletions

View File

@@ -19,6 +19,10 @@ defmodule Tracker do
end)
end
def visited do
summarize[:visited_modules]
end
def complete? do
%{total: total, current: completed} = summarize
total == completed