444件ヒット
[101-200件を表示]
(0.042秒)
クラス
-
Rake
:: Application (108) -
Rake
:: FileList (72) -
Rake
:: FileTask (12) -
Rake
:: InvocationChain (12) -
Rake
:: MakefileLoader (12) -
Rake
:: PackageTask (24) -
Rake
:: TaskArguments (12) -
Rake
:: TestTask (72)
モジュール
- Kernel (12)
-
Rake
:: Cloneable (12) -
Rake
:: TaskManager (96)
キーワード
- [] (12)
-
add
_ loader (12) - append (12)
-
create
_ rule (12) -
current
_ scope (12) - desc (12)
- dup (12)
- egrep (12)
- gsub (12)
- gsub! (12)
- import (12)
-
in
_ namespace (12) - init (12)
-
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - load (12)
- lookup (12)
- name (12)
-
new
_ scope (12) -
original
_ dir (12) -
package
_ files (12) -
package
_ files= (12) - pathmap (12)
- pattern (12)
- pattern= (12)
- rakefile (12)
-
ruby
_ opts (12) -
ruby
_ opts= (12) - sub! (12)
-
top
_ level (12) -
top
_ level _ tasks (12) -
tty
_ output= (12)
検索結果
先頭5件
-
Rake
:: TaskManager # last _ description=(description) (6251.0) -
最新の詳細説明をセットします。
...]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
task.application.last_description # => "test2"
task.application.last_description = "test3"
task.application.last_description # => "test3"
end
desc "test2"
task :test_rake_app2 do... -
Rake
:: FileList # import(array) -> self (6229.0) -
与えられた配列を自身にインポートします。
...。
@param array ファイル名のリストを指定します。
//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")
f......ile_list.import(["test4.rb", "test5.rb"]) # => ["test4.rb", "test5.rb", "test1.rb", "test2.rb", "test3.rb"]
file_list # => ["test4.rb", "test5.rb", "test1.rb", "test2.rb", "test3.rb"]
end
//}... -
Rake
:: Application # tty _ output=(tty _ output _ state) (6215.0) -
TTY に対する出力状態を上書きします。
...@param tty_output_state 変更後の状態を指定します
//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? # => "debug output"
end
//}... -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (6215.0) -
与えられた名前の名前空間でブロックを評価します。
...クを評価します。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"... -
Rake
:: FileList # pathmap(spec = nil) -> Rake :: FileList (6151.0) -
各要素に String#pathmap を適用した新しい Rake::FileList を返します。
...ing#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", "test2", "test3"]......end
//}
@see String#pathmap... -
Rake
:: Application # top _ level (6139.0) -
Rake アプリケーションに与えられたトップレベルのタスク (コマンドラインで指定されたタスク) を実行します。
...
Rake アプリケーションに与えられたトップレベルのタスク
(コマンドラインで指定されたタスク) を実行します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test1
task :test1
task :test2 do
puts "test2"
end
# rake test2 で実行
R......ake.application.top_level
# => "test2"
//}... -
Rake
:: TaskArguments # new _ scope(names) -> Rake :: TaskArguments (6127.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", "n......ame2"], ["value1", "value2"])
new_arguments = arguments.new_scope(["name3", "name4"])
p new_arguments # => #<Rake::TaskArguments >
p new_arguments.names # => ["name3", "name4"]
end
//}... -
Rake
:: TaskManager # lookup(task _ name , initial _ scope = nil) -> Rake :: Task | nil (6127.0) -
与えられたタスク名にマッチするタスクを検索します。
...@param task_name タスク名を指定します。
@param initial_scope 検索するスコープを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.lookup("test_rake_app") # => <Rake::Task test_......rake_app => []>
end
//}... -
Rake
:: Application # options -> OpenStruct (6115.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
...ンを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_sta......ts=false, load_system=false, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=8, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>
end
//}...