append(task_name, chain) -> Rake::InvocationChainRuby 1.9.3 から[permalink][rdoc][edit]-
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
- [PARAM]
task_name: - タスク名を指定します。
- [PARAM]
chain: - 既に存在する Rake::InvocationChain のインスタンスを指定します。
# Rakefile での記載例とする task default: :test_rake_app task :test_rake_app do chain = Rake::InvocationChain::EMPTY b = Rake::InvocationChain.append("task_a", chain) p b.to_s # => "TOP => task_a" end - [PARAM]