るりまサーチ (Ruby 2.3.0)

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

別のキーワード

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

クラス

キーワード

検索結果

URI::Generic#coerce(oth) -> [URI, URI] (27310.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...

URI::Generic#hierarchical? -> bool (27310.0)

自身に path が設定されているなら true を返します。そうでない場合は false を返します。

自身に path が設定されているなら true を返します。そうでない場合は false を返します。

URI::Generic#-(src) -> URI::Generic (9610.0)

与えられた URI を表す src からの相対パスを返します。

...えられた URI を表す src からの相対パスを返します。

@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。

例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x...

URI::Generic#route_from(src) -> URI::Generic (9610.0)

与えられた URI を表す src からの相対パスを返します。

...えられた URI を表す src からの相対パスを返します。

@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。

例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x...