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