a readable but terse enum for Ruby