Stats

177 Contributors: 9
Tuesday, January 17, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Metaprogramming

Download ruby eBook

Introduction

Metaprogramming can be described in two ways:

“Computer programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that would otherwise be done at runtime”.

More simply put: Metaprogramming is writing code that writes code during runtime to make your life easier.

Related Examples