るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.015秒)
トップページ > クエリ:rake[x] > クエリ:append[x] > 種類:特異メソッド[x]

別のキーワード

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

ライブラリ

クラス

検索結果

Rake::InvocationChain.append(task_name, chain) -> Rake::InvocationChain (29255.0)

与えられたタスク名を第二引数の Rake::InvocationChain に追加します。

... Rake::InvocationChain に追加します。

@param task_name タスク名を指定します。

@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。

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

task default: :test_rake_app
task :test_rake_a...
...pp do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}...