るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin argumenterror
  2. on argumenterror
  3. new argumenterror
  4. dump argumenterror
  5. parse argumenterror

ライブラリ

キーワード

検索結果

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 構成要素を表す文字列の配列を与えます。...

URI::FTP.new2(user, password, host, port, path, typecode = nil, arg_check = true) -> URI::FTP (22.0)

URI::FTP オブジェクトを生成して返します。 引数の正当性を検査します。

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

@param user 構成要素を表す文字列を与えます。

@param password 構成要素を表す文字列を与えます。

@param host 構成要素を表す文字列を与えます。

@param por...