324件ヒット
[1-100件を表示]
(0.041秒)
クラス
-
URI
:: FTP (12) -
URI
:: Generic (192) -
URI
:: HTTP (12) -
URI
:: LDAP (60) -
URI
:: MailTo (48)
キーワード
- attributes (12)
- dn (12)
- extensions (12)
- 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)
- to (12)
-
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (12) - typecode (12)
- user (12)
- userinfo (12)
検索結果
先頭5件
-
URI
:: MailTo # to _ mailtext -> String (105.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&... -
URI
:: MailTo # to _ rfc822text -> String (105.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&... -
URI
:: FTP # typecode -> String | nil (104.0) -
ファイル転送のタイプを文字列で返します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。 設定されていない場合は nil を返します。
ファイル転送のタイプを文字列で返します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。
設定されていない場合は nil を返します。 -
URI
:: Generic # fragment -> String | nil (104.0) -
自身の fragment を文字列で返します。設定されていない場合は nil を返します。
...自身の fragment を文字列で返します。設定されていない場合は nil を返します。
例:
require 'uri'
u = URI.parse('http://example.com/#frgmt')
p u.fragment #=> "frgmt"... -
URI
:: Generic # host -> String | nil (104.0) -
自身の host を文字列で返します。設定されていない場合は nil を返します。
...自身の host を文字列で返します。設定されていない場合は nil を返します。
@see URI::Generic#hostname... -
URI
:: Generic # hostname -> String | nil (104.0) -
自身の hostname を文字列で返します。また、URI::Generic#host が設 定されていない場合は nil を返します。
...URI::Generic#host が設
定されていない場合は nil を返します。
このメソッドは URI::Generic#host に IPv6 アドレスが設定されていた
場合はブラケットを削除した文字列を返しますがそれ以外は同じ文字列を返し
ます。
require 'uri'......u = URI("http://[::1]/bar")
p u.hostname # => "::1"
p u.host # => "[::1]"... -
URI
:: Generic # normalize! -> String | nil (104.0) -
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。
...
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。
例:
require 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s... -
URI
:: Generic # opaque -> String | nil (104.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 (104.0) -
自身の password を文字列で返します。設定されていない場合は nil を返します。
自身の password を文字列で返します。設定されていない場合は nil を返します。