Checked enums in Ruby