Add a comment to the task. If a comment alread exists, separate the new comment with " / ".
Source Code
# File rake.rb, line 577 def add_comment(comment) if @full_comment @full_comment << " / " else @full_comment = '' end @full_comment << comment if @full_comment =~ /\A([^.]+?\.)( |$)/ @comment = $1 else @comment = @full_comment end end
<code/>and<pre/>for code samples.