= private = protected
set_port(v)
protected setter for the port component v
see also URI::Generic.port=
# File lib/uri/generic.rb, line 701 def set_port(v) v = v.empty? ? nil : v.to_i unless !v || v.kind_of?(Integer) @port = v end