44件ヒット
[1-44件を表示]
(0.049秒)
種類
- インスタンスメソッド (33)
- 特異メソッド (11)
ライブラリ
- rake (44)
モジュール
- Rake (11)
-
Rake
:: TaskManager (33)
キーワード
- [] (11)
-
current
_ scope (11) - lookup (11)
検索結果
先頭4件
-
Rake
. application -> Rake :: Application (18320.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,
# @loader......@pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
#... -
Rake
:: TaskManager # current _ scope -> Array (6213.0) -
現在のスコープを返します。
...現在のスコープを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.current_scope # => LL()
end
//}... -
Rake
:: TaskManager # lookup(task _ name , initial _ scope = nil) -> Rake :: Task | nil (213.0) -
与えられたタスク名にマッチするタスクを検索します。
...k_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 =... -
Rake
:: TaskManager # [](task _ name , scopes = nil) -> Rake :: Task (206.0) -
与えられたタスク名にマッチするタスクを検索します。
...す。
@param task_name タスク名を指定します。
@param scopes スコープを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application["test_rake_app"] # => <Rake::Task test_rake_app => []>
end
//}...