1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ripper/lexer.rb: remove double quotes

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-09-30 06:42:24 +00:00
parent 9189cf5793
commit 3ca9f25b29

View file

@ -50,8 +50,7 @@ class Ripper
class Elem
class List < ::Array
def inspect
pos, event, tok, state = self
[pos, event, tok, Ripper.lex_state_name(state)].inspect
super.sub!(/\d+(?=\]\z)/, Ripper.lex_state_name(self[3]))
end
def pretty_print(q) # :nodoc: