Update es_enum.rb

Corrected changes from dev module