るりまサーチ (Ruby 2.6.0)

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

別のキーワード

  1. _builtin to_s
  2. openssl to_der
  3. openssl to_s
  4. _builtin to_a
  5. openssl to_pem

ライブラリ

キーワード

検索結果

Rake::InvocationChain#to_s -> String (63325.0)

トップレベルのタスクから自身までの依存関係を文字列として返します。

...の依存関係を文字列として返します。

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

task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//}...

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

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

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

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

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

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

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

Rake::InvocationChain.new(task_name, tail) (9040.0)

与えられたタスク名と一つ前の Rake::InvocationChain を用いて自身を初期化します。

...与えられたタスク名と一つ前の Rake::InvocationChain を用いて自身を初期化します。

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

@param tail 一つ前の Rake::InvocationChain を指定します。

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

task default:...
...:test_rake_app
task :test_rake_app do
tail = Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
tail.to_s # => "TOP => task_a"
b = Rake::InvocationChain.new("task_b", tail)
b.to_s # => "TOP => task_a => task_b"
end
//}...