summaryrefslogtreecommitdiff
path: root/lib/readline.rb
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-04-23 18:09:46 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-23 20:08:02 +0900
commitf2cd4f4cd0a1e352fcc48a216127beaeda2b2399 (patch)
tree8e02f39a8df8fa5708e446aeb8d42d45d8a28abe /lib/readline.rb
parent87cf45a512a7803f266e4782c49e0a99c06a4039 (diff)
downloadruby-f2cd4f4cd0a1e352fcc48a216127beaeda2b2399.tar.gz
IRB is improved with Reline and RDoc, take 2
Diffstat (limited to 'lib/readline.rb')
-rw-r--r--lib/readline.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/readline.rb b/lib/readline.rb
new file mode 100644
index 0000000000..690441e05c
--- /dev/null
+++ b/lib/readline.rb
@@ -0,0 +1,6 @@
+begin
+ require 'readline.so'
+rescue LoadError
+ require 'reline'
+ Readline = Reline
+end