module IOConsoleCompatible
On tests, we try to simulate input output with StringIO, Tempfile and File objects.
For this to be accomplished, we have to do some tweaking so that they respond adequately to the called methods during tests.
Attributes
echo[RW]
Public Instance Methods
getch(min:nil, time:nil, intr: nil)
click to toggle source
# File lib/highline/io_console_compatible.rb, line 15 def getch(min:nil, time:nil, intr: nil) getc end
winsize()
click to toggle source
# File lib/highline/io_console_compatible.rb, line 21 def winsize [24, 80] end