Current section

Files

Jump to
notioner lib iex helpers.ex
Raw

lib/iex/helpers.ex

defmodule IexHelpers do
def blanks(n \\ 20) do
1..n
|> Enum.each(fn _ ->
IO.puts("")
end)
end
def load_json!(file) do
file
|> File.read!()
|> Jason.decode!()
end
def iex_config do
IEx.configuration()
end
end