Refactor robot_name.rb

Refactor DinoDex to use shorter coding style