473件ヒット
[1-100件を表示]
(0.076秒)
クラス
-
URI
:: FTP (11) -
URI
:: Generic (286) -
URI
:: LDAP (110) -
URI
:: MailTo (66)
キーワード
- + (11)
- == (11)
- absolute (11)
- absolute? (11)
- attributes (11)
- attributes= (11)
- component (11)
-
default
_ port (11) - dn (11)
- dn= (11)
- extensions (11)
- extensions= (11)
- filter (11)
- filter= (11)
-
find
_ proxy (11) - fragment (11)
- headers (11)
- headers= (11)
- hierarchical? (11)
- host (11)
- hostname (11)
- merge (11)
- merge! (11)
- normalize (11)
- normalize! (11)
- opaque (11)
- password (11)
- path (11)
- port (11)
- query (11)
- registry (11)
- relative? (11)
- scheme (11)
- scope (11)
- scope= (11)
- select (11)
- to (11)
- to= (11)
-
to
_ mailtext (11) -
to
_ rfc822text (11) - typecode (11)
- user (11)
- userinfo (11)
検索結果
先頭5件
-
URI
:: MailTo # to _ mailtext -> String (12137.0) -
URI オブジェクトからメールテキスト文字列を生成します。
...
URI オブジェクトからメールテキスト文字列を生成します。
例:
require 'uri'
p mailto = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
print mailto.to_mailtext
=> #<URI::MailTo:0x20104a0e URL:mailto:ruby-list@ruby-lang.org?subject=subscribe&......cc=myaddr>
To: ruby-list@ruby-lang.org
Subject: subscribe
Cc: myaddr... -
URI
:: Generic # normalize -> URI :: Generic (9232.0) -
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。
...
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。
例:
require 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s......#=> "http://example.com/"... -
URI
:: Generic # normalize! -> String | nil (9132.0) -
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。
...
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。
例:
require 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s......#=> "http://example.com/"... -
URI
:: Generic # select(*components) -> [String] (9127.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 # absolute -> bool (9121.0) -
自身に scheme が設定されているなら true を返します。そうでない場合は false を返します。
...自身に scheme が設定されているなら true を返します。そうでない場合は false を返します。
例:
require 'uri'
p URI.parse('http://example.com/').absolute? #=> true
p URI.parse('./').absolute? #=> false... -
URI
:: Generic # absolute? -> bool (9121.0) -
自身に scheme が設定されているなら true を返します。そうでない場合は false を返します。
...自身に scheme が設定されているなら true を返します。そうでない場合は false を返します。
例:
require 'uri'
p URI.parse('http://example.com/').absolute? #=> true
p URI.parse('./').absolute? #=> false... -
URI
:: Generic # relative? -> bool (9121.0) -
自身に scheme が設定されていないなら true を返します。そうでない場合は false を返します。
...自身に scheme が設定されていないなら true を返します。そうでない場合は false を返します。
例:
require 'uri'
p URI.parse('http://example.com/').relative? #=> false
p URI.parse('./').relative? #=> true... -
URI
:: Generic # default _ port -> Integer | nil (9109.0) -
self.class.default_port を返します。
...self.class.default_port を返します。
@see URI::Generic.default_port... -
URI
:: Generic # hierarchical? -> bool (9103.0) -
自身に path が設定されているなら true を返します。そうでない場合は false を返します。
...自身に path が設定されているなら true を返します。そうでない場合は false を返します。... -
URI
:: LDAP # filter -> String (9103.0) -
自身の filter を文字列で返します。
...自身の filter を文字列で返します。...