class Bundler::URI::Generic

def set_port(v)


See also Bundler::URI::Generic.port=.

Protected setter for the port component +v+.
def set_port(v)
  v = v.empty? ? nil : v.to_i unless !v || v.kind_of?(Integer)
  @port = v
end