Add design pattern document, add .ruby-version to gitignore