るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.037秒)
トップページ > クエリ:to_s[x] > バージョン:2.2.0[x] > クラス:URI::FTP[x]

別のキーワード

  1. _builtin to_s
  2. openssl to_der
  3. openssl to_s
  4. _builtin to_a
  5. openssl to_pem

ライブラリ

検索結果

URI::FTP.build(ary) -> URI::FTP (22.0)

引数で与えられた URI 構成要素から URI::FTP オブジェクトを生成します。 引数の正当性を検査します。

...成要素から URI::FTP オブジェクトを生成します。
引数の正当性を検査します。

例:
require 'uri'
p URI::FTP.build([nil, "www.example.com", 10020, "/path", 'a'])
#=> #<URI::FTP:0x201c4f9c URL:ftp://www.example.com:10020/path;type=a>

p URI::FTP.build({:host => "...
...www.example.com", :path => "/path", :typecode => 'a'})
#=> #<URI::FTP:0x201bd9cc URL:ftp://www.example.com/path;type=a>

p URI::FTP.build([nil, 'example.com', nil, '/foo', 'i']).to_s
#=> 'ftp://example.com/%2Ffoo;type=i'

@param ary 構成要素を表す文字列の配列を与えます。...

URI::FTP.build(hash) -> URI::FTP (22.0)

引数で与えられた URI 構成要素から URI::FTP オブジェクトを生成します。 引数の正当性を検査します。

...成要素から URI::FTP オブジェクトを生成します。
引数の正当性を検査します。

例:
require 'uri'
p URI::FTP.build([nil, "www.example.com", 10020, "/path", 'a'])
#=> #<URI::FTP:0x201c4f9c URL:ftp://www.example.com:10020/path;type=a>

p URI::FTP.build({:host => "...
...www.example.com", :path => "/path", :typecode => 'a'})
#=> #<URI::FTP:0x201bd9cc URL:ftp://www.example.com/path;type=a>

p URI::FTP.build([nil, 'example.com', nil, '/foo', 'i']).to_s
#=> 'ftp://example.com/%2Ffoo;type=i'

@param ary 構成要素を表す文字列の配列を与えます。...