Ruby元编程在线教程 [英] Ruby metaprogramming online tutorial
问题描述
我刚刚开始学习Ruby,并且对基础知识有了很好的了解.我一直在听到Ruby做得很好的一件很酷的事情就是元编程,但是我读过的所有教程都没有涵盖这方面.在Google上搜索时,我似乎只能找到红宝石元编程屏幕上的演员表.
I have just started to learn Ruby and got a good take on the basics. I keep hearing that one of the cool things that Ruby does very well is metaprogramming, but none of the tutorials I've read cover this. Searching Google I can only seem to find paid for ruby metaprogramming screen casts.
那么,在哪里可以找到在线好的Ruby元编程教程?
So, where can I find a good Ruby metaprogramming tutorial online?
推荐答案
上面的文章确实提到了这一点,但是为了清楚起见,我将其发布: http://viewsourcecode.org/why/hacking/seeingMetaclassesClearly.html
The above article does refer to this but I'll post it for clarity: http://viewsourcecode.org/why/hacking/seeingMetaclassesClearly.html
这篇关于Ruby元编程在线教程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!