Change old hash style
Change ['..', '...'] to %w(.. ...)
Add missing space after 'private'
Add missing white spaces and fix alignment
Change old hash style
Replace inject with reduce