クラス
-
URI
:: FTP (66) -
URI
:: Generic (594) -
URI
:: HTTP (44) -
URI
:: LDAP (143) -
URI
:: LDAPS (11) -
URI
:: MailTo (99)
キーワード
- + (11)
- - (11)
- == (11)
- BadURIError (11)
- COMPONENT (11)
-
DEFAULT
_ PORT (22) - Error (11)
- FTP (11)
- Generic (11)
- HTTP (11)
- HTTPS (11)
- InvalidComponentError (11)
- InvalidURIError (11)
- LDAP (11)
- LDAPS (11)
- MailTo (11)
- UNSAFE (11)
- URI (22)
- absolute (11)
- absolute? (11)
- attributes (11)
- attributes= (11)
- build (110)
- build2 (22)
- coerce (11)
- component (22)
- decode (7)
-
decode
_ www _ form (11) -
decode
_ www _ form _ component (11) -
default
_ port (22) - dn (11)
- dn= (11)
- encode (7)
-
encode
_ www _ form (11) -
encode
_ www _ form _ component (11) - escape (7)
- extensions (11)
- extensions= (11)
- extract (44)
- filter (11)
- filter= (11)
-
find
_ proxy (11) - fragment (11)
- fragment= (11)
- headers (11)
- headers= (11)
- hierarchical? (11)
- host (11)
- host= (11)
- hostname (11)
- hostname= (11)
- join (11)
- merge (11)
- merge! (11)
- new (55)
- new2 (11)
- normalize (11)
- normalize! (11)
- opaque (11)
- opaque= (11)
- parse (11)
- parser (11)
- password (11)
- password= (11)
- path (11)
- path= (11)
- port (11)
- port= (11)
- query (11)
- query= (11)
- regexp (22)
- registry (11)
- registry= (11)
- relative? (11)
-
request
_ uri (11) -
route
_ from (11) -
route
_ to (11) - scheme (11)
- scheme= (11)
- scope (11)
- scope= (11)
- select (11)
- split (11)
- to (11)
- to= (11)
-
to
_ mailtext (11) -
to
_ rfc822text (11) -
to
_ s (11) - typecode (11)
- typecode= (11)
- unescape (7)
-
use
_ registry (11) - user (11)
- user= (11)
- userinfo (11)
- userinfo= (11)
検索結果
先頭5件
-
URI
:: Generic # scheme -> String | nil (2.0) -
自身の scheme を文字列で返します。設定されていない場合は nil を返します。
自身の scheme を文字列で返します。設定されていない場合は nil を返します。 -
URI
:: Generic # scheme=(s) (2.0) -
自身の scheme を設定します。
...自身の scheme を設定します。
@param s 自身の scheme を表す文字列を指定します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。... -
URI
:: Generic # select(*components) -> [String] (2.0) -
指定された components に対応する構成要素を文字列の配列として返します。
...字列の配列として返します。
@param components 構成要素名をシンボルで指定します。
例:
require 'uri'
uri = URI.parse('http://myuser:mypass@my.example.com/test.rbx')
p uri.select(:userinfo, :host, :path)
# => ["myuser:mypass", "my.example.com", "/test.rbx"]... -
URI
:: Generic # to _ s -> String (2.0) -
自身が表す URI を文字列として返します。
...自身が表す URI を文字列として返します。
例:
require 'uri'
p URI.parse('http://example.com/').to_s #=> "http://example.com/"... -
URI
:: Generic # user -> String | nil (2.0) -
自身の userinfo を文字列で返します。
自身の userinfo を文字列で返します。
userinfo が「username:password」の形式である場合は、username 部を返します。
設定されていない場合は nil を返します。 -
URI
:: Generic # user=(s) (2.0) -
自身の user を設定します。
...自身の user を設定します。
@param s 自身の user を表す文字列を指定します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。
@raise URI::InvalidURIError user と registry を同時に設定した場合に発生します。... -
URI
:: Generic # userinfo -> String | nil (2.0) -
自身の userinfo を "username:password" という形式の文字列で返します。 設定されていない場合は nil を返します。
自身の userinfo を "username:password" という形式の文字列で返します。
設定されていない場合は nil を返します。 -
URI
:: Generic # userinfo=(s) (2.0) -
自身の userinfo を設定します。
...字列の配列で指定します。
@raise URI::InvalidComponentError 不正な引数 s に対して発生します。
@raise URI::InvalidURIError userinfo と registry を同時に設定した場合に発生します。
例:
require 'uri'
u = URI.parse('http://example.com/')
u.userinfo =... -
URI
:: Generic . build(ary) -> URI :: Generic (2.0) -
引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
...引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
@param ary 構成要素を表す配列を与えます。要素は以下の順です。
//emlist{
[scheme, userinfo, host, port, registry, path, opaque, query, fragment]
//}
@param hash 構......シンボルは以下のいずれかです。
ハッシュの値は文字列で与えます。
//emlist{
:scheme ,:userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment
//}
@raise URI::InvalidComponentError 各要素が適合しない場合に発生します。... -
URI
:: Generic . build(hash) -> URI :: Generic (2.0) -
引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
...引数で与えられた URI 構成要素から URI::Generic オブジェクトを生成します。
@param ary 構成要素を表す配列を与えます。要素は以下の順です。
//emlist{
[scheme, userinfo, host, port, registry, path, opaque, query, fragment]
//}
@param hash 構......シンボルは以下のいずれかです。
ハッシュの値は文字列で与えます。
//emlist{
:scheme ,:userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment
//}
@raise URI::InvalidComponentError 各要素が適合しない場合に発生します。...