method

set_text

ruby latest stable - Class: RDoc::RubyToken::Token

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

set_text(text)
public

Because we’re used in contexts that expect to return a token, we set the text string and then return ourselves