3件ヒット
[1-3件を表示]
(0.011秒)
別のキーワード
検索結果
先頭3件
-
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...