27件ヒット
[1-27件を表示]
(0.049秒)
検索結果
先頭3件
-
Net
:: FTP # mlsd(pathname = nil) -> [Net :: FTP :: MLSxEntry] (18132.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...るコマンドとして
MLST/MLSD が定義されました。
@param pathname 情報を得るディレクトリ名
@see Net::FTP#mlst
require 'net/ftp'
Net::FTP.open("ftp.example.org") do |ftp|
ftp.login("anonymous", "foobar@example.com")
p ftp.mlsd("/")
# =>
# [#<Net::FTP.......group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "type"=>"file",
# "unique"=>"801U1FE......F97",
# "unix.group"=>0,
# "unix.mode"=>420,
# "unix.owner"=>106},
# @pathname="README.txt">,
# :
# ]
end... -
Net
:: FTP # mlsd(pathname = nil) {|entry| . . . } -> () (18132.0) -
pathname で指定したディレクトリに含まれているファイルの詳細な情報を得ます。
...るコマンドとして
MLST/MLSD が定義されました。
@param pathname 情報を得るディレクトリ名
@see Net::FTP#mlst
require 'net/ftp'
Net::FTP.open("ftp.example.org") do |ftp|
ftp.login("anonymous", "foobar@example.com")
p ftp.mlsd("/")
# =>
# [#<Net::FTP.......group"=>1042,
# "unix.mode"=>493,
# "unix.owner"=>106},
# @pathname => ".",
# #<Net::FTP::MLSxEntry:0x00558fbfa33e10
# @facts=
# {"modify"=>2004-12-22 08:56:36 UTC,
# "perm"=>"adfr",
# "size"=>1128,
# "type"=>"file",
# "unique"=>"801U1FE......F97",
# "unix.group"=>0,
# "unix.mode"=>420,
# "unix.owner"=>106},
# @pathname="README.txt">,
# :
# ]
end... -
NEWS for Ruby 2
. 3 . 0 (72.0) -
NEWS for Ruby 2.3.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
..._while
10769
* Enumerator::Lazy
* Enumerator::Lazy#grep_v を追加
11773
* File
* File.mkfifo
11536
* O_TMPFILE に対応する File::TMPFILE(File::Constants::TMPFILE) を追加
* Hash
* Hash#fetch_values を追加
10017
* Hash#dig を追加......み効果があります。
11218
* `flags` オプションの追加。
this parameter is bitwise-ORed to oflags generated by normal mode argument.
11253
* IO#advise はもはや Errno::ENOSYS を起こしません。
サポートの有無を実行時ではなくビ......ソケットのようなバイトストリームではないIOで使われます。
* Net::FTP
* Net::FTP#mlst を追加。
* Net::FTP#mlsd を追加。
* nkf
* nkf 2.1.4 をマージしました。
* ObjectSpace (objspace)
* ObjectSpace.#count_symbols を追加。
* O...