ruby/lib/readline.rb

7 строки
113 B
Ruby

begin
require 'readline.so'
rescue LoadError
require 'reline' unless defined? Reline
Readline = Reline
end