5件ヒット
[1-5件を表示]
(0.034秒)
クラス
キーワード
-
add
_ loader (1) - append (2)
- application= (1)
-
tty
_ output= (1)
検索結果
先頭5件
-
Rake
:: Task # application=(app) (18628.0) -
自身を所有している Rake::Application のインスタンスをセットします。
...自身を所有している Rake::Application のインスタンスをセットします。
@param app 自身を所有しているアプリケーションを指定します。... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (18346.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
tas......k :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
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain (18328.0) -
与えられた値を追加した Rake::InvocationChain を返します。
...与えられた値を追加した Rake::InvocationChain を返します。
@param task_name 追加する値を指定します。... -
Rake
:: Application # add _ loader(ext , loader) (9046.0) -
与えられた拡張子で終わるファイル名のファイルをロードするためのローダーを 自身に追加します。
...e "rake/loaders/makefile"
# Rakefile での記載例とする
task default: :test
task :test
makefile =<<-EOS
<< <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
EOS
IO.write("sample.mf", makefile)
Rake.application.add_loader("mf", Rake::MakefileLoader.new)
Rake.application.add_import("sample.mf")
Rake::......Task.task_defined?("a") # => false
Rake.application.load_imports
Rake::Task.task_defined?("a") # => true
//}... -
Rake
:: Application # tty _ output=(tty _ output _ state) (9028.0) -
TTY に対する出力状態を上書きします。
...を指定します
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tty_output? # => false
Rake.application.tty_output = "debug output" # => "debug output"
Rake.application.tty_output? #...