You can read the source.
A lightning talk proposed by Ezekiel Smithburg
Two things in one: 1) Encouragement that you, no matter how experienced you are(n't), can benefit from reading the source. 2) How I approach this in Ruby, and how to do it in general.