mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
Fix Ripper::Lexer::State#[] for to_s
The instance variable is called `to_s`, not `event`.
This commit is contained in:
parent
50b719115a
commit
b3216bc1e1
Notes:
git
2026-01-09 00:33:43 +00:00
@ -68,7 +68,7 @@ class Ripper
|
||||
when 0, :to_int
|
||||
@to_int
|
||||
when 1, :to_s
|
||||
@event
|
||||
@to_s
|
||||
else
|
||||
nil
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user