Current section

Files

Jump to
apex lib apex.ex
Raw

lib/apex.ex

defmodule Apex do
@moduledoc "Elixir clone of the awesome_print gem"
@doc """
Pretty prints the supplied data and returns the original data.
"""
def ap(data, options \\ []) do
formatted = Apex.Format.format(data, options)
IO.puts(formatted)
data
end
end