Learn Ruby Metaprogramming for Great Good
Ilya Bodrov-Krukowski offers a clean example of good metaprogramming in Ruby.
Ilya Bodrov-Krukowski offers a clean example of good metaprogramming in Ruby.
William Kennedy uses a simple example of making integers into Roman numerals to show off Ruby metaprogramming.
Read Hitchhiker's Guide to Metaprogramming: Class/Module Hooks and learn with SitePoint. Our web development and design tutorials, courses, and books will teach you HTML, CSS, JavaScript, PHP, Python, and more.