class Kojak::Printer::Synchronized

Internal: Thread-safe version of Printer::Basic.

Public Instance Methods

write(s, *args) click to toggle source
Calls superclass method Kojak::Printer::Basic#write
# File lib/kojak/printer/synchronized.rb, line 6
def write(s, *args)
  @@lock.synchronize { super }
end