From 7f273ac6d0f05208b5b228da95205e20c0e8286c Mon Sep 17 00:00:00 2001 From: aycabta Date: Sat, 20 Apr 2019 08:51:20 +0000 Subject: IRB is improved with Reline and RDoc Reline is a readline stdlib compatible library. It also supports multiline input. IRB is improved with Reline and supports multiline. Besides, supports showing documents when completed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/readline.rb | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 lib/readline.rb (limited to 'lib/readline.rb') 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 -- cgit v1.2.3