added summary of chapter 3 from the book metaprogramming-ruby