77件ヒット
[1-77件を表示]
(0.091秒)
ライブラリ
- rake (77)
クラス
-
Rake
:: Application (55) -
Rake
:: InvocationChain (11)
モジュール
-
Rake
:: TaskManager (11)
キーワード
- append (11)
- name (11)
-
original
_ dir (11) - tasks (11)
-
top
_ level _ tasks (11)
検索結果
先頭5件
-
Rake
:: Application # rakefile -> String (21236.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (6207.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...た場合に発生します。
//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 # options -> OpenStruct (3113.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
...られたアプリケーションのオプションを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, igno......em=false, job_stats=false, load_system=false, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=8, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>
end
//}... -
Rake
:: Application # name -> String (3107.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Rake
:: Application # original _ dir -> String (3107.0) -
rake コマンドを実行したディレクトリを返します。
...rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}... -
Rake
:: Application # top _ level _ tasks -> Array (3107.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}... -
Rake
:: TaskManager # tasks -> Array (119.0) -
全てのタスクリストを返します。
...# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app2
task :test_rake_app1 do |task|
end
task :test_rake_app2 do |task|
pp task.application.tasks
# => [<Rake::Task default => [test_rake_app2]>,
# <Rake::Task test_rake_app1 => []>,
# <Rake::Task test_rake_app......2 => []>]
end
//}...