In Elixir 1.5 I used to use the __info__
function with the :exports
atom as the kind
parameter.
In 1.6 :exports
has been removed as an option. I reviewed the changelog for 1.6 and didn't see any mention of the change.
# Used to work
MyModule.__info__(:exports)
What is the way to do it now?
1.5 docs: https://hexdocs.pm/elixir/1.5.0/Module.html#info/1
1.6 docs: https://hexdocs.pm/elixir/1.6.0/Module.html#info/1