method

add_comment

ruby latest stable - Class: RDoc::ClassModule
add_comment(comment, location)
public

Adds comment to this ClassModule’s list of comments at location. This method is preferred over #comment= since it allows ri data to be updated across multiple runs.