Update ruby programming styles

https://github.com/bbatsov/ruby-style-guide