Study the design patterns of Ruby.