formate variables according to ruby style guide