OptParseValidator

Build Status Coverage Status Code Climate Dependency Status

Available Validators & associated attributes:

  • Array
    • :separator (default: ',')
  • Boolean
  • Choice
    • :choices (mandatory)
    • :case_sensitive
  • Credentials
  • Directory Path
    • :exists
    • :executable
    • :readable
    • :writable
  • File Path
    • :exists
    • :executable
    • :readable
    • :writable
  • Integer
  • IntegerRange
    • separator (default: '-')
  • MultiChoices
    • choices (mandatory)
    • separator (default: ',')
    • incompatible
  • Positive Integer
  • Path
    • :file
    • :directory
    • :exists
    • :executable
    • :readable
    • :writable
  • Proxy
    • :protocols
    • :default_protocol
  • String
  • URI
    • :protocols
    • :default_protocol
  • URL
    • :default_protocol