clean up syntax in enum.rb

Cleaned up the syntax of enum.rb and removed a ```return``` on line 56.