Module: IOConsoleCompatible
Overview
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.
Instance Attribute Summary collapse
-
#echo ⇒ Object
Returns the value of attribute echo.
Instance Method Summary collapse
Instance Attribute Details
#echo ⇒ Object
Returns the value of attribute echo.
20 21 22 |
# File 'lib/highline/io_console_compatible.rb', line 20 def echo @echo end |