Injectanator v0.0.1 Injectanator.Macros

Injects the desired module into the host module.

The resulting function will live on the host module, and will be a downcased version of the injected modules name. Modules with long names will have their . replaced with _

If you wish to override the provided name, you can provide the desired name in the as option

## Examples

iex> defmodule A do
...> use Injectanator
...> inject B.C
...> end
...> A.b_c
B.C

iex> defmodule A do
...> use Injectanator
...> inject B.C, as: :b
...> end
...> A.b
B.C