class OptParseValidator::OptURL
Implementation of the URL Option
Public Instance Methods
Source
# File lib/opt_parse_validator/opts/url.rb, line 7 def allowed_protocols %w[http https] end
@return [ Array ] The allowed protocols
Implementation of the URL Option
# File lib/opt_parse_validator/opts/url.rb, line 7 def allowed_protocols %w[http https] end
@return [ Array ] The allowed protocols