class ArgParser::Validators::FormatValidator

Defined in:

arg_parser/validators/format_validator.cr

Constant Summary

ANNOTATION = Validate::Format

Constructors

Instance Method Summary

Instance methods inherited from class ArgParser::Validator

errors : Array(String) errors, validate(name, input) : Bool validate

Constructor Detail

def self.new(regex : Regex) #

[View source]

Instance Method Detail

def validate(name, input) : Bool #

[View source]