diff options
-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 a1777d7904..a361f035cd 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 + end if RUBY_VERSION >= "2.5.0" # Reline needs String#grapheme_clusters end |