48件ヒット
[1-48件を表示]
(0.067秒)
別のキーワード
ライブラリ
- rake (48)
クラス
-
Rake
:: Application (24) -
Rake
:: InvocationChain (24)
検索結果
先頭4件
-
Rake
:: Application # name -> String (21126.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (3226.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...を追加して新しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//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.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: Application # init(app _ name = & # 39;rake& # 39;) (3132.0) -
コマンドラインオプションとアプリケーション名を初期化します。
...ンドラインオプションとアプリケーション名を初期化します。
//emlist[例][ruby]{
# Rakefile での記載例とする
task default: :test
task :test
Rake.application.name # => "rake"
Rake.application.init("MyApp") # => ["default"]
Rake.application.name # => "MyApp"
//}... -
Rake
:: InvocationChain # member?(task _ name) -> bool (3126.0) -
与えられたタスク名が自身に含まれる場合は真を返します。 そうでない場合は偽を返します。
...ask_name タスク名を指定します。
//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.member?("task_a") # => true
invocation_ch...