method

text=

v2_4_6 - Show latest stable - Class: RDoc::Comment
text=(text)
public

Replaces this comment’s text with text and resets the parsed document.

An error is raised if the comment contains a document but no text.