Created
November 28, 2016 16:07
-
-
Save firejox/04dee41a4d71e9334ff157b5f4a30b75 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
macro show(qqq) | |
puts "#{ {{qqq}} }" | |
end | |
macro bla(name) | |
{% if name.is_a?(Def) %} | |
def {{name.name}} | |
{% body = name.body %} | |
{{ body }} | |
end | |
{% end %} | |
end | |
bla def www | |
show "asdf" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment