method

set_text

ruby latest stable - Class: RubyToken::Token

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) 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