Sha256: acedcd35b19c3f49d38ab898e5ced054ccb6af5ab9e93b0f16aa5b5cd494cfe5
Contents?: true
Size: 223 Bytes
Versions: 69
Compression:
Stored size: 223 Bytes
Contents
module MCollective module Validator class RegexValidator def self.validate(validator, regex) raise ValidatorError, "value should match #{regex}" unless validator.match(regex) end end end end
Version data entries
69 entries across 69 versions & 3 rubygems