ライブラリ
- ビルトイン (160)
- fileutils (33)
-
net
/ ftp (11) - pathname (22)
-
rubygems
/ package / tar _ header (11) -
rubygems
/ remote _ fetcher (11) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) -
webrick
/ httpservlet / filehandler (11) - win32ole (11)
- zlib (22)
クラス
- File (83)
-
File
:: Stat (33) -
Gem
:: Package :: TarHeader (11) -
Gem
:: RemoteFetcher (11) -
Net
:: FTP (11) - Pathname (22)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Time (22)
-
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) -
WIN32OLE
_ VARIABLE (11) -
Zlib
:: GzipFile (11) -
Zlib
:: GzipWriter (11)
モジュール
- FileUtils (22)
キーワード
- FileUtils (11)
-
NEWS for Ruby 2
. 5 . 0 (7) - Stat (11)
- Time (11)
- atime (11)
- birthtime (21)
- ctime (11)
-
fetch
_ path (11) - gmtime (11)
- lutime (7)
- mtime= (11)
- new (11)
-
not
_ modified? (11) -
ole
_ type _ detail (11) - stat (11)
- touch (11)
- tsort (11)
- utc (11)
- utime (40)
検索結果
先頭5件
-
FileUtils (6.0)
-
基本的なファイル操作を集めたモジュールです。
...コピー先を削除します。
: :secure
真を指定するとファイルの削除に FileUtils.#remove_entry_secure を使用します。
: :mtime
時刻を Time か、起算時からの経過秒数を数値で指定します。
: :parents
真を指定すると指定したディレクト... -
FileUtils
. options -> Array (6.0) -
オプション名の配列を返します。
...オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["verbose", "mode", "noop", "parents", "force", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}......オプション名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options
# => ["noop", "verbose", "force", "mode", "parents", "owner", "group", "preserve", "dereference_root", "remove_destination", "secure", "mtime", "nocreate"]
//}... -
NEWS for Ruby 2
. 5 . 0 (6.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...するようになりました
13941
* File.rename GVL を解放するようになりました 13951
* File::Stat#atime, File::Stat#mtime, File::Stat#ctime
Windows 8 以降でタイムスタンプの分数表現をサポートしました 13726
* File::Stat#ino, File.identica... -
Time (6.0)
-
時刻を表すクラスです。
...時刻を表すクラスです。
Time.now は現在の時刻を返します。
File.mtime などが返すファイルのタイムスタンプは Time
オブジェクトです。
Time オブジェクトは時刻を起算時からの経過秒数で保持しています。
起算時は協定世界......います。
タイムゾーンのフラグは Marshal データに保持されます。
//emlist[][ruby]{
p Marshal.load(Marshal.dump(Time.now.gmtime)).zone
# => "UTC"
//}
time ライブラリによって、Time.parse, Time.rfc2822, Time.httpdate, Time.iso8601 等が拡張されます。
Ruby 1.... -
WIN32OLE
_ VARIABLE # ole _ type _ detail -> [String] (6.0) -
変数の型と属性を取得します。
...Tで未定義なので変換できない
UI4 [UI4] type
_ULARGE_INTEGER [USERDEFINED, _ULARGE_INTEGER] cbSize
_FILETIME [USERDEFINED, _FILETIME] mtime
_FILETIME [USERDEFINED, _FILETIME] ctime
_FILETIME [USERDEFINED, _FILETIME] atime
UI4 [UI4] grfMode
UI4 [UI4] grfLocksSupported
GUID [USERDEF...