Sha256: 24c7a1e365b8664dcdfa292e534af7e1c50301aacd2ccb44041878df0219213e
Contents?: true
Size: 265 Bytes
Versions: 5
Compression:
Stored size: 265 Bytes
Contents
module ActiveMocker class Logger def self.set(logger) @@logger = logger end def self.method_missing(meth, *args, &block) @@logger ||= nil return nil if @@logger.nil? return @@logger.send(meth, *args, &block) end end end
Version data entries
5 entries across 5 versions & 1 rubygems