method

desc

ruby latest stable - Class: Rake::DSL

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

desc(description)
private

Describes the next rake task. Duplicate descriptions are discarded. Descriptions are shown with rake -T (up to the first sentence) and rake -D (the entire description).

Example:

desc "Run the Unit Tests"
task test: [:build]
  # ... run tests
end