460件ヒット
[201-300件を表示]
(0.039秒)
種類
- インスタンスメソッド (324)
- 特異メソッド (136)
クラス
-
URI
:: FTP (12) -
URI
:: Generic (192) -
URI
:: HTTP (12) -
URI
:: LDAP (60) -
URI
:: MailTo (48)
モジュール
- URI (136)
キーワード
- attributes (12)
- decode (7)
-
decode
_ www _ form (12) -
decode
_ www _ form _ component (12) - dn (12)
- encode (7)
-
encode
_ www _ form (12) -
encode
_ www _ form _ component (12) - escape (7)
- extensions (12)
- extract (48)
- filter (12)
- fragment (12)
- headers (12)
- host (12)
- hostname (12)
- normalize (12)
- normalize! (12)
- opaque (12)
- password (12)
- path (12)
- port (12)
- query (12)
- registry (12)
-
request
_ uri (12) - scheme (12)
- scope (12)
- select (12)
- split (12)
- to (12)
-
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (12) - typecode (12)
- unescape (7)
- user (12)
- userinfo (12)
検索結果
先頭5件
-
URI
:: Generic # opaque -> String | nil (103.0) -
自身の opaque を文字列で返します。設定されていない場合は nil を返します。
...列で返します。設定されていない場合は nil を返します。
例:
require 'uri'
p URI.parse('http://example.com/').opaque #=> nil
p URI.parse('mailto:nospam@localhost').opaque #=> "nospam@localhost"
p URI.parse('urn:ietf:rfc:1149').opaque #=> "ietf:rfc:1149"... -
URI
:: Generic # password -> String | nil (103.0) -
自身の password を文字列で返します。設定されていない場合は nil を返します。
自身の password を文字列で返します。設定されていない場合は nil を返します。 -
URI
:: Generic # path -> String | nil (103.0) -
自身の path を文字列で返します。設定されていない場合は nil を返します。
...します。
require 'uri'
p URI.parse('http://example.com/hoge').path #=> "/hoge"
p URI.parse('http://example.com').path #=> ""
p URI.parse('mailto:nospam@localhost').path #=> nil
p URI('ftp://example.com/foo').path #=> 'foo'
p URI('ftp://example.com/%2Ffoo').... -
URI
:: Generic # port -> String | nil (103.0) -
自身の port を文字列で返します。設定されていない場合は nil を返します。
自身の port を文字列で返します。設定されていない場合は nil を返します。 -
URI
:: Generic # query -> String | nil (103.0) -
自身の query を文字列で返します。設定されていない場合は nil を返します。
...自身の query を文字列で返します。設定されていない場合は nil を返します。
例:
require 'uri'
p URI.parse('http://example.com/?hoge').query #=> "hoge"... -
URI
:: Generic # registry -> String | nil (103.0) -
自身の registry を文字列で返します。設定されていない場合は nil を返します。
自身の registry を文字列で返します。設定されていない場合は nil を返します。 -
URI
:: Generic # scheme -> String | nil (103.0) -
自身の scheme を文字列で返します。設定されていない場合は nil を返します。
自身の scheme を文字列で返します。設定されていない場合は nil を返します。 -
URI
:: Generic # select(*components) -> [String] (103.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 (103.0) -
自身が表す URI を文字列として返します。
...自身が表す URI を文字列として返します。
例:
require 'uri'
p URI.parse('http://example.com/').to_s #=> "http://example.com/"...