Methods
- E
- G
- I
- L
- N
- P
- R
Class Public methods
new() Link
Creates a new input method object
# File ruby/lib/irb/input-method.rb, line 59 def initialize @line_no = 0 @line = [] @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.
inspect() Link
For debug message