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