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