Design patterns in ruby epub s