mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ext/ripper/lib/ripper/lexer.rb: Consistently use Array#push
instead of <<. All the other callsites use `push`.
This commit is contained in:
parent
ef8c5161b4
commit
8877dbe400
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Ripper
|
|||
def on_heredoc_beg(tok)
|
||||
@stack.push @buf
|
||||
buf = []
|
||||
@buf << buf
|
||||
@buf.push buf
|
||||
@buf = buf
|
||||
@buf.push Elem.new([lineno(), column()], __callee__, tok, state())
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue