るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. matrix p
  5. dh p=

ライブラリ

クラス

キーワード

検索結果

Net::IMAP::Address#route -> String | nil (27202.0)

メールアドレスの SMTP at-domain-list を返します。

...メールアドレスの SMTP at-domain-list を返します。

存在しない場合は nil を返します。

通常は nil を返します。...

URI::Generic#route_to(dst) -> URI::Generic (12214.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#route_from(src) -> URI::Generic (6208.0)

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

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

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

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