Class: U3dCore::Shell::EPipeIgnorerLogDevice
- Inherits:
-
Logger::LogDevice
- Object
- Logger::LogDevice
- U3dCore::Shell::EPipeIgnorerLogDevice
- Defined in:
- lib/u3d_core/ui/implementations/shell.rb
Instance Method Summary collapse
-
#initialize(logdev) ⇒ EPipeIgnorerLogDevice
constructor
A new instance of EPipeIgnorerLogDevice.
-
#write(message) ⇒ Object
rubocop:disable HandleExceptions.
Constructor Details
#initialize(logdev) ⇒ EPipeIgnorerLogDevice
Returns a new instance of EPipeIgnorerLogDevice.
49 50 51 |
# File 'lib/u3d_core/ui/implementations/shell.rb', line 49 def initialize(logdev) @logdev = logdev end |
Instance Method Details
#write(message) ⇒ Object
rubocop:disable HandleExceptions
54 55 56 57 58 |
# File 'lib/u3d_core/ui/implementations/shell.rb', line 54 def write() @logdev.write() rescue Errno::EPIPE # ignored end |