504件ヒット
[1-100件を表示]
(0.083秒)
別のキーワード
ライブラリ
- rake (300)
-
rake
/ gempackagetask (12) -
rake
/ loaders / makefile (12) -
rake
/ packagetask (180)
クラス
-
Rake
:: Application (12) -
Rake
:: DefaultLoader (12) -
Rake
:: FileList (156) -
Rake
:: GemPackageTask (12) -
Rake
:: InvocationChain (36) -
Rake
:: MakefileLoader (12) -
Rake
:: PackageTask (180) -
Rake
:: TaskArguments (60) - String (24)
キーワード
- == (12)
- [] (12)
-
add
_ loader (12) - append (12)
-
clear
_ exclude (12) - define (12)
- egrep (12)
-
excluded
_ from _ list? (12) - existing (12)
- existing! (12)
- ext (24)
- gsub! (12)
- import (12)
-
is
_ a? (12) -
kind
_ of? (12) - load (24)
- member? (12)
- name (12)
- name= (12)
- names (12)
-
need
_ tar (12) -
need
_ tar= (12) -
need
_ tar _ bz2 (12) -
need
_ tar _ bz2= (12) -
need
_ tar _ gz (12) -
need
_ tar _ gz= (12) -
need
_ zip (12) -
need
_ zip= (12) -
new
_ scope (12) -
package
_ dir (12) -
package
_ dir= (12) -
package
_ dir _ path (12) -
package
_ files (12) -
package
_ files= (12) - pathmap (24)
- resolve (12)
-
to
_ hash (12) -
to
_ s (12) -
with
_ defaults (12)
検索結果
先頭5件
-
Rake
:: TaskArguments # new _ scope(names) -> Rake :: TaskArguments (17273.0) -
与えられたパラメータ名のリストを使用して新しい Rake::TaskArguments を作成します。
...使用して新しい Rake::TaskArguments を作成します。
@param names パラメータ名のリストを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["va......lue1", "value2"])
new_arguments = arguments.new_scope(["name3", "name4"])
p new_arguments # => #<Rake::TaskArguments >
p new_arguments.names # => ["name3", "name4"]
end
//}... -
Rake
:: FileList # ext(newext = & # 39;& # 39;) -> Rake :: FileList (11236.0) -
各要素に String#ext を適用した新しい Rake::FileList を返します。
...String#ext を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (11148.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
:: FileList # existing -> Rake :: FileList (11136.0) -
自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含む Rake::FileList を返します。
...するファイルのみを
含む Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")... -
Rake
:: FileList # pathmap(spec = nil) -> Rake :: FileList (11136.0) -
各要素に String#pathmap を適用した新しい Rake::FileList を返します。
...各要素に String#pathmap を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.pathmap("%n") # => ["test1",... -
Rake
:: Application # add _ loader(ext , loader) (11049.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
:: InvocationChain # member?(task _ name) -> bool (11031.0) -
与えられたタスク名が自身に含まれる場合は真を返します。 そうでない場合は偽を返します。
...。
@param task_name タスク名を指定します。
//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.member?("task_a") # => true... -
Rake
:: InvocationChain # to _ s -> String (11031.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
:: TaskArguments # [](key) -> object (11025.0) -
与えられたパラメータ名に対応する値を返します。
...ます。
@param key パラメータの名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments["name1"] # => "value1"
argumen...