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:
parent
9189cf5793
commit
3ca9f25b29
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue