るりまサーチ

最速Rubyリファレンスマニュアル検索!
132件ヒット [1-100件を表示] (0.015秒)
トップページ > クエリ:generic[x] > 種類:特異メソッド[x]

別のキーワード

  1. generic component
  2. generic default_port
  3. generic build
  4. generic build2
  5. generic +

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 > >>

URI::Generic.build(ary) -> URI::Generic (3119.0)

引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。

...引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。

@param ary 構成要素を表す配列を与えます。要素は以下の順です。
//emlist{
[scheme, userinfo, host, port, registry, path, opaque, query, fragment]
//}

@param hash 構...

URI::Generic.build(hash) -> URI::Generic (3119.0)

引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。

...引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。

@param ary 構成要素を表す配列を与えます。要素は以下の順です。
//emlist{
[scheme, userinfo, host, port, registry, path, opaque, query, fragment]
//}

@param hash 構...

URI::Generic.build2(ary) -> URI::Generic (3119.0)

URI::Generic.build と同じですが、例外 URI::InvalidComponentError が発生した場合に、引数の各要素を URI.escape して再度 build を試み ます。

...URI::Generic.build と同じですが、例外 URI::InvalidComponentError
が発生した場合に、引数の各要素を URI.escape して再度 build を試み
ます。

@param ary 構成要素を表す文字列の配列を与えます。要素は以下の順です。
//emlist{
[scheme, u...

URI::Generic.build2(hash) -> URI::Generic (3119.0)

URI::Generic.build と同じですが、例外 URI::InvalidComponentError が発生した場合に、引数の各要素を URI.escape して再度 build を試み ます。

...URI::Generic.build と同じですが、例外 URI::InvalidComponentError
が発生した場合に、引数の各要素を URI.escape して再度 build を試み
ます。

@param ary 構成要素を表す文字列の配列を与えます。要素は以下の順です。
//emlist{
[scheme, u...

URI::Generic.new(scheme, userinfo, host, port, registry, path, opaque, query, fragment, parser = URI::DEFAULT_PARSER, arg_check = false) -> URI::Generic (3118.0)

各引数を成分とする URI::Generic オブジェクトを生成して返します。

...各引数を成分とする URI::Generic オブジェクトを生成して返します。

@param scheme 構成要素 scheme を表す文字列を与えます。

@param userinfo 構成要素を表す文字列を与えます。

@param host 構成要素を表す文字列を与えます。

@param p...

絞り込み条件を変える

WEBrick::GenericServer.new(config = {}, default = WEBrick::Config::General) -> WEBrick::GenericServer (3101.0)

GenericServer オブジェクトを生成して返します。

...
Generic
Server オブジェクトを生成して返します。

config で有効な項目が増えます。以下は増える項目とそのデフォルト値です。

:ServerSoftware => "#{svrsoft} OpenSSL/#{osslv}",
:SSLEnable => true, # Ruby 1.8.3 以降では false がデ...

URI::Generic.use_registry -> bool (3017.0)

構成要素 registry を受け付けるなら true を返します。 URI::Generic クラスでは false です。

...構成要素 registry を受け付けるなら true を返します。
URI::Generic クラスでは false です。...

URI::Generic.component -> [Symbol] (3007.0)

URI の構成要素を表すシンボルの配列を返します。

...URI の構成要素を表すシンボルの配列を返します。

require 'uri'
p URI::Generic.component
p URI::MailTo.component

# => [:scheme, :userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment]
# => [:scheme, :to, :headers]...

URI::Generic.default_port -> Integer | nil (3007.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...
<< 1 2 > >>