This method is deprecated or moved on the latest stable version.
The last existing version (v2_2_9) is shown here.
transform_comments(separator, &block)
private
Transform the list of comments as specified by the block and join with the
separator.
# File lib/rake/task.rb, line 288
def transform_comments(separator, &block)
if @comments.empty?
nil
else
block ||= lambda { |c| c }
@comments.map(&block).join(separator)
end
end