summaryrefslogtreecommitdiff
path: root/lib/irb/input-method.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irb/input-method.rb')
-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 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