482件ヒット
[201-300件を表示]
(0.084秒)
別のキーワード
ライブラリ
- ビルトイン (82)
-
cgi
/ core (24) - date (36)
- expect (24)
-
io
/ console (24) -
io
/ wait (36) - monitor (12)
- openssl (72)
- optparse (24)
- pathname (12)
- rake (12)
-
rubygems
/ specification (36) - shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (18) - thread (2)
- time (24)
- timeout (8)
クラス
- CGI (24)
- DateTime (36)
- File (36)
-
Gem
:: Specification (36) - IO (84)
-
MonitorMixin
:: ConditionVariable (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: SSL :: Session (48) - OptionParser (24)
- Pathname (12)
-
Rake
:: FileCreationTask (12) - Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18) -
Thread
:: ConditionVariable (12) - Time (48)
- UnboundMethod (12)
モジュール
- Kernel (8)
キーワード
- accept (12)
-
add
_ runtime _ dependency (12) - atime (30)
- ctime (42)
- date (12)
- expect (24)
-
flush
_ sessions (12) - header (12)
- iso8601 (12)
- mtime (30)
- offset (12)
- out (12)
- raw (12)
- raw! (12)
- reject (12)
-
runtime
_ dependencies (12) -
sec
_ fraction (12) -
second
_ fraction (12) -
source
_ location (12) - status (12)
- subsec (12)
- time= (12)
- timeout (20)
- timeout= (12)
-
to
_ r (12) - wait (36)
-
wait
_ readable (12) -
wait
_ writable (12) - xmlschema (12)
検索結果
先頭5件
-
Time
# subsec -> Integer | Rational (9107.0) -
時刻を表す分数を返します。
...時刻を表す分数を返します。
Rational を返す場合があります。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p "%10.9f" % t.to_f # => "946749845.000005960"
p t.subsec #=> (3/500000)
//}
to_f の値と subsec の値の下のほうの桁の値は異なる場... -
Time
# to _ r -> Rational (9107.0) -
起算時からの経過秒数を有理数で返します。1 秒に満たない経過も 表現されます。
...起算時からの経過秒数を有理数で返します。1 秒に満たない経過も
表現されます。
//emlist[][ruby]{
t = Time.local(2000,1,2,3,4,5,6)
p t # => 2000-01-02 03:04:05 +0900
p t.to_r # => (473374922500003/500000)
//}... -
Gem
:: Specification # runtime _ dependencies -> Array (9101.0) -
この Gem パッケージが依存している Gem パッケージのリストを返します。
この Gem パッケージが依存している Gem パッケージのリストを返します。 -
OpenSSL
:: SSL :: SSLContext # flush _ sessions(time=nil) -> self (6226.0) -
自身が保持しているセッションキャッシュを破棄します。
...シュを破棄します。
time に nil を渡すと現在時刻で期限切れになっている
キャッシュを破棄します。
time に Time オブジェクトを渡すと、その
時刻で時間切れになるキャッシュを破棄します。
@param time キャッシュ破棄の基......準時刻
@see OpenSSL::SSL::SSLContext#session_cache_mode=... -
File
# atime -> Time (6224.0) -
最終アクセス時刻を Time オブジェクトとして返します。
...最終アクセス時刻を Time オブジェクトとして返します。
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
Fil......e.open("testfile") { |f| f.atime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#ctime, File#mtime......e.open("testfile") { |f| f.atime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#ctime, File#mtime, File#birthtime... -
File
# ctime -> Time (6224.0) -
状態が最後に変更された時刻を Time オブジェクトとして返します。状態の変更とは chmod などによるものです。
... Time オブジェクトとして返します。状態の変更とは chmod などによるものです。
@raise IOError 自身が close されている場合に発生します。
@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.......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
# mtime -> Time (6224.0) -
最終更新時刻を Time オブジェクトとして返します。
...最終更新時刻を Time オブジェクトとして返します。
@raise IOError 自身が close されている場合に発生します。
@raise Errno::EXXX ファイルの時刻の取得に失敗した場合に発生します。
//emlist[例:][ruby]{
IO.write("testfile", "test")
File.open......("testfile") { |f| f.mtime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#atime, File#ctime......("testfile") { |f| f.mtime } # => 2017-12-21 22:58:17 +0900
//}
@see File#lstat, File#atime, File#ctime, File#birthtime... -
Pathname
# ctime -> Time (6208.0) -
File.ctime(self.to_s) を渡したものと同じです。
....ctime(self.to_s) を渡したものと同じです。
//emlist[例][ruby]{
require 'pathname'
IO.write("testfile", "test")
pathname = Pathname("testfile")
pathname.ctime # => 2019-01-14 00:39:51 +0900
sleep 1
pathname.chmod(0755)
pathname.ctime # => 2019-01-14 00:39:52 +0900
//}
@see File.ctime... -
Shell
# atime(filename) -> Time (6208.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
# ctime(filename) -> Time (6208.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.ctime...