Methods
Included Modules
Class Public methods
new()
Link
Creates a new input method object using Readline
# File lib/irb/input-method.rb, line 135 def initialize super @line_no = 0 @line = [] @eof = false @stdin = IO.open(STDIN.to_i, :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") @stdout = IO.open(STDOUT.to_i, 'w', :external_encoding => IRB.conf[:LC_MESSAGES].encoding, :internal_encoding => "-") end
Instance Public methods
encoding()
Link
The external encoding for standard input.
eof?()
Link
Whether the end of this input method has been reached, returns
true
if there is no more data to read.
See IO#eof? for more information.