A simple enum implementation for ruby.