Update es_enum.rb

Updated based on comments.