Sha256: d6aec24e2dc024c136daebf5d7e06c0c9810bfad6bae6368cf54682c45e35bd3
Contents?: true
Size: 740 Bytes
Versions: 18
Compression:
Stored size: 740 Bytes
Contents
# encoding: US-ASCII # Stub file to conform gem name (rb-readline) # It forces require of bundled readline instead of any already existing # in your Ruby installation. It will avoid any possible warning caused # by double require. # Remove any Readline module that has been defined so far. This is primarily to # catch cases where GNU Readline has already been required. Unfortunately, it # is not without problems - any calls to methods like Readline.completion_proc # will need to be re-made. if (defined? Readline) && (! defined? RbReadline) if $DEBUG STDERR.puts "Removing old Readline module - redefined by rb-readline." end Object.send(:remove_const, :Readline) require File.join(File.dirname(__FILE__), 'readline') end
Version data entries
18 entries across 18 versions & 5 rubygems