Sha256: 230ad23f13bf0b962b6283e427286dba1dbb5221596556fc7206eeb78da6ac8e
Contents?: true
Size: 273 Bytes
Versions: 8
Compression:
Stored size: 273 Bytes
Contents
class SitemapCheck class Logger def initialize(stream = $stdout) self.stream = stream self.mutex = Mutex.new end def log(message) mutex.synchronize { stream.puts message } end protected attr_accessor :stream, :mutex end end
Version data entries
8 entries across 8 versions & 1 rubygems