るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
5件ヒット [1-5件を表示] (0.031秒)

別のキーワード

  1. io popen
  2. io pipe
  3. io each_line
  4. io each
  5. io readlines

クラス

モジュール

検索結果

Rake::TaskManager#last_description=(description) (55903.0)

最新の詳細説明をセットします。

...by]{
# 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 :test_rake_app2...

Rake::Task#add_description(description) (55813.0)

自身に詳細説明を追加します。

自身に詳細説明を追加します。

Kernel#desc(description) -> String (55249.0)

直後の Rake タスクの説明を登録します。

...直後の Rake タスクの説明を登録します。

@param description 直後のタスクの説明を指定します。

例:
desc "Run the Unit Tests"
task :test => [:build] do
runtests
end...

Rake::Task#arg_description (54910.0)

Rake::TaskManager#last_description -> String (27964.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...
Rake
file 内の最新の詳細説明を追跡するためのメソッドです。

//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...

絞り込み条件を変える