Module: OpenHAB::Console::IRB::StdioInputMethod
- Defined in:
- lib/openhab/console/irb.rb
Instance Method Summary collapse
-
#initialize ⇒ Object
make sure we use our replacement stdio streams, and not the re-opened ones based on STDIN/STDOUT.
Instance Method Details
#initialize ⇒ Object
make sure we use our replacement stdio streams, and not the re-opened ones based on STDIN/STDOUT
44 45 46 47 48 49 |
# File 'lib/openhab/console/irb.rb', line 44 def initialize super @stdin = $stdin @stdout = $stdout end |