Get rid of the koan prefix

This commit is contained in:
Felipe Sere
2016-03-08 20:27:53 +00:00
parent a85e760e54
commit dc64bdf186
3 changed files with 4 additions and 27 deletions

View File

@@ -8,7 +8,7 @@ defmodule Display do
IO.puts("Now meditate upon #{display_module(module)}")
IO.puts("---------------------------------------")
IO.puts(format_cyan(last_failure_location))
IO.puts(display_koan(name))
IO.puts(name)
IO.puts(format_red(Macro.to_string(expr)))
end
@@ -55,8 +55,4 @@ defmodule Display do
defp display_module(module) do
Module.split(module) |> List.last
end
defp display_koan(name) do
String.replace(to_string(name), Koans.prefix, "")
end
end