Module: Kernel
- Defined in:
- lib/rjr/util/logger.rb
Overview
Serialized puts, uses logger lock to serialize puts output. Definiting it in Kernel as ‘puts’ is defined there
Though this could go in core_ext, since it’s pretty specific to RJR logger, adding here
Instance Method Summary collapse
Instance Method Details
#sputs(*args) ⇒ Object
125 126 127 128 129 |
# File 'lib/rjr/util/logger.rb', line 125 def sputs(*args) ::RJR::Logger.safe_exec { puts *args } end |