class IRB::InputMethod
Attributes
prompt[RW]
The irb prompt associated with this input method
Public Instance Methods
gets()
click to toggle source
Reads the next line from this input method.
See IO#gets for more information.
# File irb/input-method.rb, line 20 def gets fail NotImplementedError, "gets" end
inspect()
click to toggle source
For debug message
# File irb/input-method.rb, line 46 def inspect 'Abstract InputMethod' end
readable_after_eof?()
click to toggle source
Whether this input method is still readable when there is no more data to read.
See IO#eof for more information.
# File irb/input-method.rb, line 37 def readable_after_eof? false end
support_history_saving?()
click to toggle source
# File irb/input-method.rb, line 41 def support_history_saving? false end
winsize()
click to toggle source
# File irb/input-method.rb, line 25 def winsize if instance_variable_defined?(:@stdout) && @stdout.tty? @stdout.winsize else [24, 80] end end