method

check_port

ruby latest stable - Class: URI::Generic
check_port(v)
private

check the port v component for RFC2396 compliance and against the URI::Parser Regexp for :PORT

Can not have a registry or opaque component defined, with a port component defined.