class OptParseValidator::OptURL

Implementation of the URL Option

Public Instance Methods

allowed_protocols() click to toggle source

@return [ Array ] The allowed protocols

# File lib/opt_parse_validator/opts/url.rb, line 7
def allowed_protocols
  %w[http https]
end