るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
17件ヒット [1-17件を表示] (0.107秒)

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. openssl n
  5. openssl n=

クラス

キーワード

検索結果

URI::LDAP#extensions -> String (45610.0)

自身の extensions を文字列で返します。

自身の extensions を文字列で返します。

URI::LDAP#extensions=(s) (45610.0)

自身の extensions を文字列で設定します。

自身の extensions を文字列で設定します。

@param s 自身の extensions を文字列で設定します。

URI::Generic#find_proxy(env = ENV) -> URI | nil (36610.0)

プロキシ URI を返します。

...プロキシ URI を返します。

プロキシ URI は http_proxy, ftp_proxy, no_proxy などの環境変数から取得
します。適切なプロキシが見つからない場合は nil を返します。

環境変数は大文字にしたもの(HTTP_PROXY, FTP_PROXY, NO_PROXYなど)も調べ...
...区別しない場合は http_proxy も) は使
われません。代わりに CGI_HTTP_PROXY が使われます。

@param env 環境変数 ENV の代わりに参照するオブジェクトを指定します。

@raise BadURIError selfが相対URIであった場合に発生します。

@see ENV...

URI::LDAP#dn -> String (36610.0)

自身の Distinguished Name を文字列で返します。

自身の Distinguished Name を文字列で返します。

URI::LDAP#dn=(s) (36610.0)

自身の Distinguished Name を文字列で設定します。

自身の Distinguished Name を文字列で設定します。

@param s 自身の Distinguished Name を文字列で指定します。

絞り込み条件を変える

URI::Generic#default_port -> Integer | nil (27610.0)

self.class.default_port を返します。

...self.class.default_port を返します。

@see URI::Generic.default_port...

URI::Generic#password -> String | nil (27610.0)

自身の password を文字列で返します。設定されていない場合は nil を返します。

自身の password を文字列で返します。設定されていない場合は nil を返します。

URI::Generic#password=(s) (27310.0)

自身の password を設定します。

...い場合には例外が発生します。

@param s 自身の password を表す文字列を指定します。

@raise URI::InvalidComponentError 不正な引数 s に対して発生します。

@raise URI::InvalidURIError userinfo と registry を同時に設定した場合に発生します。...

URI::FTP#typecode -> String | nil (18658.0)

ファイル転送のタイプを文字列で返します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。 設定されていない場合は nil を返します。

ファイル転送のタイプを文字列で返します。"a" はテキスト、"i" はバイナリ、"d" はディレクトリを表します。
設定されていない場合は nil を返します。

URI::MailTo#headers -> [[String]] (18610.0)

自身のヘッダーを文字列の配列の配列として設定します。

...自身のヘッダーを文字列の配列の配列として設定します。

例:
require 'uri'
m = URI.parse("mailto:ruby-list@ruby-lang.org?subject=subscribe&cc=myaddr")
p m.headers #=> [["subject", "subscribe"], ["cc", "myaddr"]]...

絞り込み条件を変える

URI::Generic#route_to(dst) -> URI::Generic (9610.0)

自身から dst への相対パスを返します。

...自身から dst への相対パスを返します。

@param dst URI を文字列かURIオブジェクトで与えます。

例:
require 'uri'
p URI.parse('http://example.com/').route_to('http://example.com/foo/bar.html')

#=> #<URI::Generic:0x20100198 URL:foo/bar.html>...

URI::Generic#+(rel) -> URI::Generic (9418.0)

自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。

...結した新しい URI オブジェクトを生成して返します。

3986 の Section 5.2 の仕様に従います。
rel が文字列の場合は URI.parse(rel) によって、URI に変換してから連結します。


@param rel 連結したいパスを文字列か URI オブジェクトで...
...uire 'uri'
p URI.parse('http://example.com/') + '/foo/bar.html'
#=> #<URI::HTTP:0x201001c0 URL:http://example.com/foo/bar.html>
URI
('http://a/b/c/d;p?q').merge('?y') #=> #<URI::HTTP:0xb7ca2e2c URL:http://a/b/c/d;p?y>
URI
('http://a/b/c/d;p?q').merge('/./g') #=> #<URI::HTTP...
...0xb7ca2738 URL:http://a/g>
URI
('http://a/b/c/d;p?q').merge('/../g') #=> #<URI::HTTP:0xb7ca2008 URL:http://a/g>
URI
('http://a/b/c/d;p?q').merge('../../../g') #=> #<URI::HTTP:0xb7ca1888 URL:http://a/g>
URI
('http://a/b/c/d;p?q').merge('../../../../g') #=> #<URI::HTTP:0xb7ca10a4 URL:htt...

URI::Generic#merge(rel) -> URI::Generic (9418.0)

自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。

...結した新しい URI オブジェクトを生成して返します。

3986 の Section 5.2 の仕様に従います。
rel が文字列の場合は URI.parse(rel) によって、URI に変換してから連結します。


@param rel 連結したいパスを文字列か URI オブジェクトで...
...uire 'uri'
p URI.parse('http://example.com/') + '/foo/bar.html'
#=> #<URI::HTTP:0x201001c0 URL:http://example.com/foo/bar.html>
URI
('http://a/b/c/d;p?q').merge('?y') #=> #<URI::HTTP:0xb7ca2e2c URL:http://a/b/c/d;p?y>
URI
('http://a/b/c/d;p?q').merge('/./g') #=> #<URI::HTTP...
...0xb7ca2738 URL:http://a/g>
URI
('http://a/b/c/d;p?q').merge('/../g') #=> #<URI::HTTP:0xb7ca2008 URL:http://a/g>
URI
('http://a/b/c/d;p?q').merge('../../../g') #=> #<URI::HTTP:0xb7ca1888 URL:http://a/g>
URI
('http://a/b/c/d;p?q').merge('../../../../g') #=> #<URI::HTTP:0xb7ca10a4 URL:htt...

URI::LDAP#attributes -> String (9310.0)

自身の Attribute を文字列で返します。

自身の Attribute を文字列で返します。

URI::LDAP#filter -> String (9310.0)

自身の filter を文字列で返します。

自身の filter を文字列で返します。

絞り込み条件を変える

URI::LDAP#scope -> String (9310.0)

自身の Scope を文字列で返します。

自身の Scope を文字列で返します。

URI::Generic#coerce(oth) -> [URI, URI] (9028.0)

引数 oth をパースして [パース後の oth, self] の配列を返します。

...] の配列を返します。

@param oth URI オブジェクトか文字列を指定します。

例:

require 'uri'

uri
= URI.parse("http://my.example.com")
uri
.coerce("http://foo.com")
# => [#<URI::HTTP:0x00000000bcb028 URL:http://foo.com/>, #<URI::HTTP:0x00000000d92178 URL:http://my.ex...