5件ヒット
[1-5件を表示]
(0.009秒)
キーワード
- run (1)
-
to
_ s (2) -
top
_ level (1) -
top
_ level _ tasks (1)
検索結果
先頭5件
-
Rake
:: Application # top _ level (18331.0) -
Rake アプリケーションに与えられたトップレベルのタスク (コマンドラインで指定されたタスク) を実行します。
...
Rake アプリケーションに与えられたトップレベルのタスク
(コマンドラインで指定されたタスク) を実行します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test1
task :test1
task :test2 do
puts "test2"
end
# rake test2 で実行
R... -
Rake
:: Application # top _ level _ tasks -> Array (18331.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}... -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (58.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
Rake
:: Application # run (28.0) -
Rake アプリケーションを実行します。
...
Rake アプリケーションを実行します。
このメソッドは以下の 3 ステップを実行します。
* コマンドラインオプションを初期化します。Rake::Application#init
* タスクを定義します。Rake::Application#load_rakefile
* コマンドラインで......指定されたタスクを実行します。Rake::Application#top_level... -
Rake
:: InvocationChain # to _ s -> String (28.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
//...