instance method URI::Generic#port=
port=(s)-
自身の port を設定します。
- [PARAM] s:
- 自身の port を表す文字列か整数を指定します。
- [EXCEPTION] URI::InvalidComponentError:
- 不正な引数 s に対して発生します。
- [EXCEPTION] URI::InvalidURIError:
- port と registry を同時に設定した場合に発生します。
class URI::Generic
port=(s)自身の port を設定します。