public Method

Task.add_description(description)

Add a description to the task. The description can consist of an option argument list (enclosed brackets) and an optional comment.

Source Code

# File rake.rb, line 564
def add_description(description)
  return if ! description
  comment = description.strip
  add_comment(comment) if comment && ! comment.empty?
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.