るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.121秒)

別のキーワード

  1. rake to_s
  2. rake new
  3. rake []
  4. rake application
  5. rake application=

ライブラリ

クラス

検索結果

Rake::FileTask#timestamp -> Time | Rake::LateTime (87682.0)

ファイルタスクのタイムスタンプを返します。

ファイルタスクのタイムスタンプを返します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.timestamp # => #<Rake::LateTime:0x2ba58f0>
end
//}