Skip to content

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

class method

Ripper.lex_state_name

Ripper.lex_state_name(integer) → string

Returns a string representation of lex_state.

See also .lex .new .dedent_string .parse also in 3.2 · 3.1