Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > uriライブラリ > URI::Genericクラス > default_port

instance method URI::Generic#default_port

default_port -> Integer | nil[permalink][rdoc]

self.class.default_port を返します。

[SEE_ALSO] URI::Generic.default_port