mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby-trunk.
* lib/irb/ruby-lex.rb (RubyLex#buf_input): use chars.to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
086e5b1a63
commit
4a9d407e35
3 changed files with 6 additions and 1 deletions
|
@ -188,7 +188,7 @@ class RubyLex
|
|||
prompt
|
||||
line = @input.call
|
||||
return nil unless line
|
||||
@rests.concat line.split(//)
|
||||
@rests.concat line.chars.to_a
|
||||
true
|
||||
end
|
||||
private :buf_input
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue