Class: Console::Mux::ConsoleOutputter
- Defined in:
- lib/console/mux/console_outputter.rb
Overview
IO Outputter invokes print then flush on the wrapped IO object. If the IO stream dies, IOOutputter sets itself to OFF and the system continues on its merry way.
To find out why an IO stream died, create a logger named ‘log4r’ and look at the output.
Instance Method Summary collapse
-
#initialize(_name, console, hash = {}) ⇒ ConsoleOutputter
constructor
A new instance of ConsoleOutputter.
Constructor Details
#initialize(_name, console, hash = {}) ⇒ ConsoleOutputter
Returns a new instance of ConsoleOutputter.
38 39 40 41 |
# File 'lib/console/mux/console_outputter.rb', line 38 def initialize(_name, console, hash={}) @console = console super(_name, hash) end |