るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.037秒)

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer chr
  5. integer new

クラス

キーワード

検索結果

URI::Generic#default_port -> Integer | nil (310.0)

self.class.default_port を返します。

...self.class.default_port を返します。

@see URI::Generic.default_port...

URI::Generic.default_port -> Integer | nil (310.0)

スキームに対応するデフォルトのポート番号を整数で返します。

...ます。

require 'uri'
URI
::Generic.default_port # => nil
URI
::FTP.default_port # => 21
URI
::HTTP.default_port # => 80
URI
::HTTPS.default_port # => 443
URI
::LDAP.default_port # => 389
URI
::LDAPS.default_port # => 636
URI
::MailTo.default_port...

URI::LDAPS::DEFAULT_PORT -> Integer (310.0)

デフォルトのポート (636) です。

デフォルトのポート (636) です。