Object
# File lib/mcollective/validator/array_validator.rb, line 4 def self.validate(validator, array) raise ValidatorError, "value should be one of %s" % [ array.join(", ") ] unless array.include?(validator) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.