Class
Constants
No documentation available
Class Methods
lib/reline/io.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline/io.rb, line 6
def self.decide_io_gate
if ENV['TERM'] == 'dumb'
Reline::Dumb.new
else
require 'reline/io/ansi'
case RbConfig::CONFIG['host_os']
when /mswin|msys|mingw|cygwin|bccwin|wince|emc/
require 'reline/io/windows'
io = Reline::Windows.new
if io.msys_tty?
Reline::ANSI.new
else
io
end
else
Reline::ANSI.new
end
end
end
No documentation available
Instance Methods
#
lib/reline/io.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline/io.rb, line 27
def dumb?
false
end
No documentation available
lib/reline/io.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline/io.rb, line 35
def reset_color_sequence
self.class::RESET_COLOR
end
No documentation available
#
lib/reline/io.rb
View on GitHub
# File tmp/rubies/ruby-master/lib/reline/io.rb, line 31
def win?
false
end
No documentation available