Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Ripper#token

ripper.token → String

Return the current token string.

See also #state #warn #parse #warning also in 3.1 · 3.0