239件ヒット
[201-239件を表示]
(0.105秒)
ライブラリ
- ビルトイン (95)
-
net
/ ftp (12) - pathname (24)
-
rubygems
/ package / tar _ header (12) -
rubygems
/ remote _ fetcher (12) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) -
webrick
/ httpservlet / filehandler (12) - win32ole (12)
- zlib (24)
クラス
- File (47)
-
File
:: Stat (24) -
Gem
:: Package :: TarHeader (12) -
Gem
:: RemoteFetcher (12) -
Net
:: FTP (12) - Pathname (24)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - Time (24)
-
WEBrick
:: HTTPServlet :: DefaultFileHandler (12) -
WIN32OLE
_ VARIABLE (12) -
Zlib
:: GzipFile (12) -
Zlib
:: GzipWriter (12)
キーワード
- atime (12)
- birthtime (23)
- ctime (12)
-
fetch
_ path (12) - gmtime (12)
- mtime= (12)
-
not
_ modified? (12) -
ole
_ type _ detail (12) - utc (12)
- utime (30)
検索結果
先頭4件
-
File
# birthtime -> Time (7.0) -
作成された時刻を Time オブジェクトとして返します。
...::EXXX ファイルの時刻の取得に失敗した場合に発生します。
@raise NotImplementedError Windows のような birthtime のない環境で発生します。
File.new("testfile").birthtime #=> Wed Apr 09 08:53:14 CDT 2003
@see File#lstat, File#atime, File#ctime, File#mtime... -
File
# ctime -> Time (7.0) -
状態が最後に変更された時刻を Time オブジェクトとして返します。状態の変更とは chmod などによるものです。
...れている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.ctime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#atime, File#mtime......に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open("testfile") { |f| f.ctime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#atime, File#mtime, File#birthtime... -
File
:: Stat # birthtime -> Time (7.0) -
作成された時刻を返します。
...0
File.chmod(0644, "testfile")
sleep 10
File.read("testfile")
File.stat("testfile").birthtime #=> 2014-02-24 11:19:17 +0900
File.stat("testfile").mtime #=> 2014-02-24 11:19:27 +0900
File.stat("testfile").ctime #=> 2014-02-24 11:19:37 +0900
File.stat("testfile").atime #=> 2014-02-... -
WIN32OLE
_ VARIABLE # ole _ type _ detail -> [String] (7.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...