class IRB::InputMethod
Constants
- BASIC_WORD_BREAK_CHARACTERS
Attributes
The irb prompt associated with this input method
Public Instance Methods
Source
# File lib/irb/input-method.rb, line 22 def gets fail NotImplementedError end
Reads the next line from this input method.
See IO#gets for more information.
Source
# File lib/irb/input-method.rb, line 52 def inspect 'Abstract InputMethod' end
For debug message
Source
# File lib/irb/input-method.rb, line 39 def readable_after_eof? false end
Whether this input method is still readable when there is no more data to read.
See IO#eof for more information.
Source
# File lib/irb/input-method.rb, line 43 def support_history_saving? false end
Source
# File lib/irb/input-method.rb, line 27 def winsize if instance_variable_defined?(:@stdout) && @stdout.tty? @stdout.winsize else [24, 80] end end