110件ヒット
[1-100件を表示]
(0.022秒)
種類
- インスタンスメソッド (77)
- 特異メソッド (22)
- クラス (11)
クラス
-
Rake
:: EarlyTime (11) -
Rake
:: FileList (11) -
Rake
:: InvocationChain (33) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) -
Rake
:: Task (11) -
Rake
:: TaskArguments (22)
キーワード
- InvocationChain (11)
- append (11)
- inspect (11)
- new (11)
検索結果
先頭5件
-
Rake
:: FileList # to _ s -> String (18109.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
:: InvocationChain # to _ s -> String (18109.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
:: EarlyTime # to _ s -> String (18103.0) -
"<EARLY TIME>" という文字列を返します。
"<EARLY TIME>" という文字列を返します。 -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (18103.0) -
'TOP' という文字列を返します。
'TOP' という文字列を返します。 -
Rake
:: Task # to _ s -> String (18103.0) -
自身の名前を返します。
自身の名前を返します。 -
Rake
:: TaskArguments # to _ s -> String (15103.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。
@see Hash#inspect -
Rake
:: InvocationChain . new(task _ name , tail) (14.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
//}... -
Rake
:: InvocationChain (8.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 (8.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 (3.0) -
自身を人間に読みやすい文字列にして返します。
自身を人間に読みやすい文字列にして返します。
@see Hash#inspect