summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-12-07 20:21:08 +0900
committeraycabta <aycabta@gmail.com>2019-12-07 21:55:31 +0900
commitad6837dd609654b02885199b25f7d79b1122b64a (patch)
treef43fd1ba0c7976d7183ddbb6cf7454c12039f85d /lib
parentc2afddccb36c10ac0eb530bfc3b38765882126d8 (diff)
[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
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/input-method.rb2
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