るりまサーチ

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. matrix i
  5. csv to_i

ライブラリ

キーワード

検索結果

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

Rake::FileTask.scope_name(scope, task_name) -> String (3101.0)

ファイルタスクはスコープを無視します。

ファイルタスクはスコープを無視します。

Rake::FileTask#needed? -> bool (3001.0)

このタスクが必要である場合は真を返します。 そうでない場合は偽を返します。

...るファイルが古い場合に真を返します。

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

task default: "test.txt"
file "test.txt" do |task|
Rake.application.options.build_all = false
task.needed? # => true
I
O.write("test.txt", "test")
task.needed? # => false
end
//}...