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
198 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 198 def <<(*_); self; end |
#binmode ⇒ Object
204 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 204 def binmode; self; end |
#close ⇒ Object
202 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 202 def close; self; end |
#closed? ⇒ Boolean
206 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 206 def closed?; false; end |
#flush ⇒ Object
201 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 201 def flush; self; end |
#print(*_) ⇒ Object
200 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 200 def print(*_); self; end |
#puts(*_) ⇒ Object
199 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 199 def puts(*_); self; end |
#sync=(*_) ⇒ Object
203 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 203 def sync=(*_); self; end |
#tty? ⇒ Boolean
205 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 205 def tty?; false; end |
#write(*_) ⇒ Object
197 |
# File 'lib/ractor_rails_shim/patches/callables.rb', line 197 def write(*_); self; end |