Last active
July 19, 2016 19:51
-
-
Save ybur-yug/efc526d2a7173b7e04b5ea8eda0a6937 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # module = "YourModule" | |
| module = "Enum" | |
| # this call here as to match the module name, hacky | |
| Enum.__info__(:functions) | |
| |> Enum.each(fn({function, arity}) -> | |
| Code.eval_string("require IEx.Helpers; IEx.Helpers.h #{module}.#{function}") | |
| end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment