るりまサーチ (Ruby 3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.007秒)
トップページ > クエリ:AMP[x] > クラス:Rake::FileTask[x] > バージョン:3.0[x]

別のキーワード

  1. rexml amp
  2. entityconst amp
  3. rexml/document amp
  4. amp rexml/document
  5. amp rexml::entityconst

ライブラリ

検索結果

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