A handy way to define enums in Ruby.