Comment on Ruby DSL HandbookparentComments−moe11ythere's a syntax called 'alias' that works similarly to my exampleThat's an unfortunate wart on the language (an inconsistency) and not related to your example at all.I'm essentially asking for macros commonly found in the Lisp family of languages.Can you come up with a real-world use case for that?
Comments
there's a syntax called 'alias' that works similarly to my example
That's an unfortunate wart on the language (an inconsistency) and not related to your example at all.
I'm essentially asking for macros commonly found in the Lisp family of languages.
Can you come up with a real-world use case for that?