Fixed Rubocop styling and syntax issues on DinoDex project

Take a look, let me know what you think. :)
Eww. `data` is so generic that I could send anything to this method & it would likely pop out 'Herbivore'.

Instead, pass in the actual data object you're working with on line 6, & then your method looks like this:

```
def self.to_diet(data)
  if data["Carnivore"] == 'Yes'
    "Carnivore"
  else
    "Herbivore"
  end
end
```
I'd still rather know what kind of data we're looking at, but this can be read & basically comprehended. Additionally, this is one of those places where I like to use a ternary:

```
def self.to_diet(dino_data)
  dino_data["Carnivore"] == 'Yes' ? "Carnivore" : "Herbivore"
end
```

I'll leave case sensitivity issues to the reader.