jacknoble / alias_many

Elixir macro for concisely aliasing multiple modules from the same namespace.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AliasMany

A simple macro for aliasing multiple modules under the same namespace. Instead of writing:

alias NameSpace.SubmoduleOne
alias NameSpace.SubmoduleTwo
alias NameSpace.SubmoduleThree

... and so on. You can

require AliasMany
AliasMany.alias [SubmoduleOne, SubModuleTwo, SubmoduleThree], from: NameSpace

About

Elixir macro for concisely aliasing multiple modules from the same namespace.


Languages

Language:Elixir 100.0%