A Metaprogramming Spell Book

A session at Italian RubyDay 2011

Friday 10th June, 2011

2:10pm to 3:10pm (CET)

When I started to learn Ruby, I was awed by the code of experienced rubyists. That code was full of amazing magic tricks that I could barely understand. People called those tricks metaprogramming.

With time, I found that metaprogramming sits right at the core of Ruby. To really understand Ruby, I had to understand all those scary tricks! Feeling like a sorcerer's apprentice, I set out to write a Spell Book of metaprogramming techniques. Once I'd finished the Spell Book, metaprogramming didn't seem like black magic anymore. Instead, it just felt like any other set of techniques.

In this talk, I'll show you the content of my Spell Book, so that you don't have to go through the trouble of writing one yourself.

About the speaker

This person is speaking at this event.
Paolo Perrotta

Software loudmouth, team coach, author of the Metaprogramming Ruby book (http://pragprog.com/book/ppmetr). bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!


Time 2:10pm3:10pm CET

Date Fri 10th June 2011

Short URL


Official event site


View the schedule



Books by speaker

  • Metaprogramming Ruby 2: Program Like the Ruby Pros (Facets of Ruby)
  • Metaprogramming Ruby

See something wrong?

Report an issue with this session