adding ruby design pattern notes