update the source code layout part according to the latest ruby style guide by @bbatsov