diff options
author | aycabta <aycabta@gmail.com> | 2019-12-07 20:21:08 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-12-07 21:55:31 +0900 |
commit | ad6837dd609654b02885199b25f7d79b1122b64a (patch) | |
tree | f43fd1ba0c7976d7183ddbb6cf7454c12039f85d | |
parent | c2afddccb36c10ac0eb530bfc3b38765882126d8 (diff) | |
download | ruby-ad6837dd609654b02885199b25f7d79b1122b64a.tar.gz |
[ruby/irb] Revert "Reidline mode needs Reline what needs String#grapheme_clusters"
This reverts commit 2b0b19b87c60d2cdb329979acbb96e12a1f940e7.
New IRB parser needs new Ripper what has lex_state too. The new Ripper is
adopted by Ruby 2.5 or later.
https://github.com/ruby/irb/commit/9ab6e35a2c
-rw-r--r-- | lib/irb/input-method.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index a361f035cd..a1777d7904 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -293,5 +293,5 @@ module IRB def encoding @stdin.external_encoding end - end if RUBY_VERSION >= "2.5.0" # Reline needs String#grapheme_clusters + end end |