Fix several rubocop errors.

Deleted extra blank space, used 2 spaces instead of 3, use parens
instead of curly braces