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() click to toggle source
# File lib/highline/io_console_compatible.rb, line 16
def getch
  getc
end
winsize() click to toggle source
# File lib/highline/io_console_compatible.rb, line 22
def winsize
  [24, 80]
end