repo.or.cz
/
ruby.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
[ruby.git]
/
lib
/
readline.rb
blob
d1c9d3a955d92ddf0408087c6becaf17b8cd4fcb
1
begin
2
require "readline.#{RbConfig::CONFIG["DLEXT"]}"
3
rescue LoadError
4
require 'reline' unless defined? Reline
5
Object.send(:remove_const, :Readline) if Object.const_defined?(:Readline)
6
Readline = Reline
7
end