10件ヒット
[1-10件を表示]
(0.058秒)
検索結果
先頭5件
-
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (90610.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
Rake
:: InvocationChain # to _ s -> String (72628.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
//... -
Rake
:: FileList # to _ s -> String (63628.0) -
全ての要素をスペースで連結した文字列を返します。
...全ての要素をスペースで連結した文字列を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_s # => "a.c b.c"
end
//}... -
Rake
:: EarlyTime # to _ s -> String (63610.0) -
"<EARLY TIME>" という文字列を返します。
"<EARLY TIME>" という文字列を返します。 -
Rake
:: Task # to _ s -> String (54610.0) -
自身の名前を返します。
自身の名前を返します。 -
Rake
:: TaskArguments # to _ s -> String (54610.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。
@see Hash#inspect -
Rake
:: InvocationChain (36025.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 . append(task _ name , chain) -> Rake :: InvocationChain (18925.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...の Rake::InvocationChain に追加します。
@param task_name タスク名を指定します。
@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_a......pp do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}... -
Rake
:: TaskArguments # inspect -> String (18610.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。
@see Hash#inspect -
Rake
:: InvocationChain . new(task _ name , tail) (18343.0) -
与えられたタスク名と一つ前の Rake::InvocationChain を用いて自身を初期化します。
...前の Rake::InvocationChain を用いて自身を初期化します。
@param task_name タスク名を指定します。
@param tail 一つ前の Rake::InvocationChain を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app d......o
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
//}...