= private = protected
check_scheme(v)
check the scheme v component against the URI::Parser Regexp for :SCHEME
# File lib/uri/generic.rb, line 328 def check_scheme(v) if v && parser.regexp[:SCHEME] !~ v raise InvalidComponentError, "bad component(expected scheme component): #{v}" end return true end