るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.039秒)
トップページ > バージョン:2.2.0[x] > クエリ:IO[x] > モジュール:Rake::TaskManager[x] > クエリ:last_description[x]

別のキーワード

  1. _builtin last
  2. fiddle last_error
  3. fiddle last_error=
  4. regexp last_match
  5. array last

ライブラリ

検索結果

Rake::TaskManager#last_description -> String (54625.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_app2 do |task|
end
//}

Rake::TaskManager#last_description=(description) (36961.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 :...