Fixed Rubocop styling and syntax issues on DinoDex project

Take a look, let me know what you think. :)
Put the closing bracket on its own new line.