るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. rake application
  2. rake application=
  3. application name
  4. application init
  5. application top_level

ライブラリ

クラス

検索結果

Rake::FileTask#timestamp -> Time | Rake::LateTime (54343.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
//}