3件ヒット
[1-3件を表示]
(0.302秒)
種類
- 特異メソッド (2)
- インスタンスメソッド (1)
ライブラリ
- rake (3)
モジュール
- Rake (2)
-
Rake
:: TaskManager (1)
キーワード
- application (1)
- application= (1)
検索結果
先頭3件
-
Rake
:: TaskManager # last _ description=(description) (72937.0) -
最新の詳細説明をセットします。
最新の詳細説明をセットします。
//emlist[][ruby]{
# 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 :... -
Rake
. application -> Rake :: Application (18637.0) -
現在の Rake アプリケーションを返します。
現在の 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,
# ... -
Rake
. application=(app) (18337.0) -
現在の Rake アプリケーションをセットします。
現在の Rake アプリケーションをセットします。
@param app Rake::Application のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_output = true
Rake.application = app
pp Rake.application
end
# => #<Rake::App...