253件ヒット
[1-100件を表示]
(0.048秒)
別のキーワード
種類
- インスタンスメソッド (209)
- 特異メソッド (33)
- 定数 (11)
ライブラリ
- rake (231)
-
rake
/ packagetask (22)
クラス
-
Rake
:: Application (66) -
Rake
:: FileList (77) -
Rake
:: FileTask (11) -
Rake
:: InvocationChain (44) -
Rake
:: PackageTask (22)
モジュール
- Rake (11)
-
Rake
:: TaskManager (22)
キーワード
-
DEFAULT
_ RAKEFILES (11) - append (22)
- application (11)
-
excluded
_ from _ list? (11) - existing (11)
- existing! (11)
- ext (11)
- gsub! (11)
- import (11)
-
last
_ description (11) - member? (11)
- name (11)
- needed? (11)
- new (11)
-
original
_ dir (11) -
package
_ files (11) - resolve (11)
-
synthesize
_ file _ task (11) -
to
_ s (11) -
top
_ level _ tasks (11)
検索結果
先頭5件
-
Rake
:: Application # rakefile -> String (21235.0) -
実際に使用されている Rakefile の名前を返します。
...実際に使用されている Rakefile の名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.rakefile # => "Rakefile"
end
//}... -
Rake
:: Application :: DEFAULT _ RAKEFILES -> Array (9240.0) -
デフォルトで Rakefile として扱うファイル名の配列を返します。
...デフォルトで Rakefile として扱うファイル名の配列を返します。
'rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb' が指定されています。... -
Rake
:: Application # options -> OpenStruct (9212.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, i......em=false, job_stats=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
//}... -
Rake
. application -> Rake :: Application (6348.0) -
現在の Rake アプリケーションを返します。
...//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @loade......b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=... -
Rake
:: TaskManager # last _ description -> String (3222.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_a... -
Rake
:: InvocationChain # append(task _ name) -> Rake :: InvocationChain (3206.0) -
与えられたタスク名を追加して新しい Rake::InvocationChain を返します。
...を追加して新しい Rake::InvocationChain を返します。
@param task_name 追加するタスク名を指定します。
@raise RuntimeError 循環したタスクの呼び出しを検出した場合に発生します。
//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.append("task_b") # => LL("task_b", "task_a")
end
//}... -
Rake
:: InvocationChain . append(task _ name , chain) -> Rake :: InvocationChain (3206.0) -
与えられたタスク名を第二引数の Rake::InvocationChain に追加します。
...タスク名を第二引数の Rake::InvocationChain に追加します。
@param task_name タスク名を指定します。
@param chain 既に存在する Rake::InvocationChain のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test......_rake_app
task :test_rake_app do
chain = Rake::InvocationChain::EMPTY
b = Rake::InvocationChain.append("task_a", chain)
b.to_s # => "TOP => task_a"
end
//}... -
Rake
:: Application # name -> String (3106.0) -
アプリケーションの名前を返します。通常は 'rake' という名前を返します。
...アプリケーションの名前を返します。通常は 'rake' という名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.name # => "rake"
end
//}... -
Rake
:: Application # original _ dir -> String (3106.0) -
rake コマンドを実行したディレクトリを返します。
...rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}... -
Rake
:: Application # top _ level _ tasks -> Array (3106.0) -
コマンドラインで指定されたタスクのリストを返します。
...コマンドラインで指定されたタスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.top_level_tasks # => ["default"]
end
//}...