Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Mirah Macro Help: Some macro notes

If you want to unquote the args from a block, be sure to not include the pipes.


quote do
  `list`.each { `block.arguments` cool_thing; `[block.body]` }


quote do
  `list`.each { |`block.arguments`| cool_thing; `[block.body]` }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment