105件ヒット
[1-100件を表示]
(0.201秒)
種類
- インスタンスメソッド (87)
- 定数 (11)
- 文書 (7)
ライブラリ
- ビルトイン (33)
- date (22)
-
net
/ ftp (9) - openssl (11)
-
shell
/ command-processor (6) -
shell
/ filter (6) - win32ole (11)
クラス
- Date (22)
-
File
:: Stat (11) -
Net
:: FTP :: MLSxEntry (9) -
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Time (22)
-
WIN32OLE
_ VARIABLE (11)
モジュール
-
OpenSSL
:: ASN1 (11)
キーワード
-
NEWS for Ruby 2
. 5 . 0 (7) - UTCTIME (11)
- asctime (22)
- birthtime (11)
- facts (9)
-
ole
_ type _ detail (11)
検索結果
先頭5件
-
Shell
:: CommandProcessor # ctime(filename) -> Time (24307.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.ctime... -
Time
# ctime -> String (21313.0) -
時刻を asctime(3) の形式の文字列に変換します。た だし、末尾の改行文字 "\n" は含まれません。
...を asctime(3) の形式の文字列に変換します。た
だし、末尾の改行文字 "\n" は含まれません。
戻り値の文字エンコーディングは Encoding::US_ASCII です。
//emlist[][ruby]{
p Time.local(2000).asctime # => "Sat Jan 1 00:00:00 2000"
p Time.local(......2000).asctime.encoding # => #<Encoding:US-ASCII>
p Time.local(2000).ctime # => "Sat Jan 1 00:00:00 2000"
//}... -
Shell
:: Filter # ctime(filename) -> Time (21307.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.ctime... -
Date
# ctime -> String (21301.0) -
asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。
...asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。... -
Time
# asctime -> String (12413.0) -
時刻を asctime(3) の形式の文字列に変換します。た だし、末尾の改行文字 "\n" は含まれません。
...を asctime(3) の形式の文字列に変換します。た
だし、末尾の改行文字 "\n" は含まれません。
戻り値の文字エンコーディングは Encoding::US_ASCII です。
//emlist[][ruby]{
p Time.local(2000).asctime # => "Sat Jan 1 00:00:00 2000"
p Time.local(......2000).asctime.encoding # => #<Encoding:US-ASCII>
p Time.local(2000).ctime # => "Sat Jan 1 00:00:00 2000"
//}... -
Date
# asctime -> String (12401.0) -
asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。
...asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。... -
Net
:: FTP :: MLSxEntry # facts -> { String => String|Integer|Time } (9412.0) -
そのエントリの「facts」を返します。
...のエントリの「facts」を返します。
facts とはそのエントリに関するファイルサイズなどの様々な情報です。
Net::FTP はこの情報を文字列をキーとするハッシュテーブルで
返します。
標準では以下のような facts が定義されて......います。これらの facts には
対応するメソッドが定義されています。すべてのサーバでこれら
の facts がすべて実装されているわけではありません。
3659 では
modify, perm, type, size, unique はすべてのサーバで
対応すべき(SHOULD)、......Time)
* "create": 作成時刻
* "perm": パーミッション(String)
* "type": 種類(String, "file", "dir", "cdir", "pdir" など)
* "size": ファイルサイズ (Integer, octet単位)
* "unique": ユニークID (String)
* "lang": ファイルの言語 (String)
* "media-type": メ... -
WIN32OLE
_ VARIABLE # ole _ type _ detail -> [String] (9306.0) -
変数の型と属性を取得します。
...@return 変数の型と属性を文字列配列で返します。
tobj = WIN32OLE_TYPE.new('Microsoft XML, v5.0', 'tagSTATSTG')
tobj.variables.each do |v|
puts "#{v.ole_type} [#{v.ole_type_detail.join(', ')}] #{v.name}"
end
出力結果
Unknown Type 31 [] pwcsName # => VT_LPWSTR......2OLE::VARIANTで未定義なので変換できない
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
G......UID [USERDEFINED, GUID] clsid
UI4 [UI4] grfStateBits
UI4 [UI4] reserved
上例のように、WIN32OLE_VARIABLEで取得できる変数あるいはその元となる構造
体は、必ずしもOLEオートメーション互換データというわけではありません。こ
のようなデー... -
OpenSSL
:: ASN1 :: UTCTIME -> Integer (9300.0) -
ASN.1 UNIVERSAL タグの、 UTCTIME のタグ番号 23 を表す定数です。
...
ASN.1 UNIVERSAL タグの、
UTCTIME のタグ番号 23 を表す定数です。... -
File
:: Stat # birthtime -> Time (9254.0) -
作成された時刻を返します。
...@raise NotImplementedError Windows のような birthtime のない環境で発生します。
//emlist[][ruby]{
File.write("testfile", "foo")
sleep 10
File.write("testfile", "bar")
sleep 10
File.chmod(0644, "testfile")
sleep 10
File.read("testfile")
File.stat("testfile").birthtime #=> 2014-02-2......4 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-24 11:19:47 +0900
//}... -
NEWS for Ruby 2
. 5 . 0 (3138.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.5.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......トは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 2.4.0 以降の変更
=== 言語仕様の変更
* トップレベルの定数参照を削除しました 11547
* do/end ブロック内部で rescue/else/ensure を書けるようになりまし......13568
* File.stat, File.exist? など rb_stat() を使用しているメソッドではGVLを解放するようになりました
13941
* File.rename GVL を解放するようになりました 13951
* File::Stat#atime, File::Stat#mtime, File::Stat#ctime
Windows 8 以降...