According to wikipedia, Metaprogramming:
is the writing of computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at runtime that would otherwise be done at compile time.
Well, nice to hear cause Ruby is a lang that supports Metaprogramming effectively, and might be the best in that field. If you want to explore more on that topic, and how ruby can help you, then check this list of posts i wrote recently, i hope you will enjoy them:
- Ruby dynamic method calling
- Ruby introspection
- Ruby introspection 2
- Ruby reflection
- Ruby reflection 2
- Ruby callbacks
- Ruby and internal DSLs
If you have any question regarding this topic, please don't hesitate to contact me, i would really be pleased to help you.