156件ヒット
[1-100件を表示]
(0.014秒)
別のキーワード
ライブラリ
- rake (156)
キーワード
- [] (12)
- clear (12)
-
create
_ rule (12) -
current
_ scope (12) -
define
_ task (12) -
in
_ namespace (12) - intern (12)
-
last
_ comment (12) -
last
_ description (12) -
last
_ description= (12) - lookup (12)
-
synthesize
_ file _ task (12) - tasks (12)
検索結果
先頭5件
-
Rake
:: TaskManager # last _ description=(description) (49.0) -
最新の詳細説明をセットします。
...の記載例とする
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 |task|
end
//}... -
Rake
:: TaskManager # last _ comment -> String (37.0) -
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_app2 do |task|
end
//}... -
Rake
:: TaskManager # last _ description -> String (37.0) -
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_app2 do |task|
end
//}... -
Rake
:: TaskManager # tasks -> Array (37.0) -
全てのタスクリストを返します。
...載例とする
require 'pp'
task default: :test_rake_app2
task :test_rake_app1 do |task|
end
task :test_rake_app2 do |task|
pp task.application.tasks
# => [<Rake::Task default => [test_rake_app2]>,
# <Rake::Task test_rake_app1 => []>,
# <Rake::Task test_rake_app2 => []>]
end
//}... -
Rake
:: TaskManager # [](task _ name , scopes = nil) -> Rake :: Task (25.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
//}... -
Rake
:: TaskManager # clear (25.0) -
全てのタスクとルールをクリアします。
...アします。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.tasks # => [<Rake::Task default => [test_rake_app]>, <Rake::Task test_rake_app => []>]
Rake.application.clear # => []
Rake.application.tasks # => []
end... -
Rake
:: TaskManager # intern(task _ class , task _ name) -> Rake :: Task (25.0) -
タスクを検索します。
...指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do |task|
task.application.intern(Rake::Task, "test_rake_app") # => <Rake::Task test_rake_app => []>
task.application.intern(Rake::Task, "sample_task") # => <Rake::Task... -
Rake
:: TaskManager # lookup(task _ name , initial _ scope = nil) -> Rake :: Task | nil (25.0) -
与えられたタスク名にマッチするタスクを検索します。
...名を指定します。
@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
:: TaskManager # create _ rule(*args) { . . . } (13.0) -
与えられたパラメータに従ってルールを作成します。
...ram args ルールに与えるパラメータを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
rule = Rake.application.create_rule '.txt' => '.md' do |t|
"#{t}"
end
p rule # => 0x0000558dd2e32d20 /path/to/Rakef...