An 'states' hash in Ruby