るりまサーチ

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

別のキーワード

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

ライブラリ

キーワード

検索結果

<< 1 2 > >>

Rake::InvocationChain (30006.0)

循環したタスクの呼び出しを検出するためのクラスです。

...循環したタスクの呼び出しを検出するためのクラスです。

例:
a = Rake::InvocationChain::EMPTY
b = a.append('task_a').append('task_b')
p b.to_s # => "TOP => task_a => task_b"

a.append('task_a').append('task_b').append('task_a') # => 例外発生...

Rake::InvocationChain::EmptyInvocationChain (27000.0)

呼び出し関係のトップレベルを表します。

呼び出し関係のトップレベルを表します。

Rake::InvocationChain::EmptyInvocationChain#append(task_name) -> Rake::InvocationChain (18317.0)

与えられた値を追加した Rake::InvocationChain を返します。

...与えられた値を追加した Rake::InvocationChain を返します。

@param task_name 追加する値を指定します。...

Rake::InvocationChain::EmptyInvocationChain#to_s -> String (18100.0)

'TOP' という文字列を返します。

'TOP' という文字列を返します。

Rake::InvocationChain::EmptyInvocationChain#member?(task_name) -> bool (18000.0)

偽を返します。

偽を返します。

絞り込み条件を変える

Rake::InvocationChain::EMPTY -> Rake::InvocationChain::EmptyInvocationChain (9617.0)

Rake::InvocationChain::EmptyInvocationChain のインスタンスを表します。

...Rake::InvocationChain::EmptyInvocationChain のインスタンスを表します。...

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

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

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

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

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

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

task 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#append(task_name) -> Rake::InvocationChain (9329.0)

与えられたタスク名を追加して新しい Rake::InvocationChain を返します。

...ク名を追加して新しい Rake::InvocationChain を返します。

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

@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。

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

task def...
...ault: :test_rake_app
task :test_rake_app do
i
nvocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
i
nvocation_chain.append("task_b") # => LL("task_b", "task_a")
end
//}...

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

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

...e::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
//}...

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

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

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

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

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

絞り込み条件を変える

<< 1 2 > >>