minor space fixes (rubycop auto correction)
new ruby hash syntax (rubycop auto correction)
spaces (rubycop auto correction)
spaces (rubycop auto correction)
minor refactoring