Created
March 29, 2021 14:27
-
-
Save rlb3/89af74de64d659497a295e771e381ceb to your computer and use it in GitHub Desktop.
This file contains 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
defmodule MissingFunction do | |
def unquote(:"$handle_undefined_function")(func, args), do: [func, args] | |
end | |
# iex(3)> MissingFunction.asdf(1,2,3) | |
# [:asdf, [1, 2, 3]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment