Today you solved a difficult metaprogramming problem, writing your own useful Class Macro (). Along the way, you also learned about the powerful eval method, its issues, and how to work around them. Finally, you got introduced to Ruby’s Hook Methods (), and you used them to your advantage.
“You learned a lot this week, my friend,” Bill says, smiling for what seems like the first time this week. “Now you know enough to walk the metaprogramming path on your own. Before we take off for the weekend, let me tell you one last story.”
“A master developer,” Bill begins, “sits on top of a mountain, meditating…”