public Method

Token.set_text(text)

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

Source Code

# File rdoc/parsers/parse_rb.rb, line 51
def set_text(text)
  @text = text
  self
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.