Class: RactorRailsShim::NoOpLogDev
- Inherits:
-
Object
- Object
- RactorRailsShim::NoOpLogDev
- Defined in:
- lib/ractor_rails_shim/patches/callables.rb
Overview
No-op log device sink: a frozen, shareable stand-in for an IO, swapped in for $stdout/$stderr in the app's logger before make_shareable so the real IOs aren't frozen. Responds to the write methods a Logger::LogDevice might call.
Instance Method Summary collapse
- #<<(*_) ⇒ Object
- #binmode ⇒ Object
- #close ⇒ Object
- #closed? ⇒ Boolean
- #flush ⇒ Object
- #print(*_) ⇒ Object
- #puts(*_) ⇒ Object
- #sync=(*_) ⇒ Object
- #tty? ⇒ Boolean
- #write(*_) ⇒ Object
Instance Method Details
#<<(*_) ⇒ Object
144 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 144 def <<(*_); self; end |
#binmode ⇒ Object
150 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 150 def binmode; self; end |
#close ⇒ Object
148 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 148 def close; self; end |
#closed? ⇒ Boolean
152 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 152 def closed?; false; end |
#flush ⇒ Object
147 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 147 def flush; self; end |
#print(*_) ⇒ Object
146 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 146 def print(*_); self; end |
#puts(*_) ⇒ Object
145 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 145 def puts(*_); self; end |
#sync=(*_) ⇒ Object
149 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 149 def sync=(*_); self; end |
#tty? ⇒ Boolean
151 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 151 def tty?; false; end |
#write(*_) ⇒ Object
143 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 143 def write(*_); self; end |