Find a validator by the given key.
# File lib/chef-api/validator.rb, line 10 def self.find(key) const_get(Util.camelize(key)) rescue NameError raise Error::InvalidValidator.new(key: key) end