class Rake::Task
def add_comment(comment)
Add a comment to the task. If a comment already exists, separate
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