Sha256: 338d1043409bcf62c3e5ab283693c351de4eaab758f329f04c73ed09ba04eec3
Contents?: true
Size: 382 Bytes
Versions: 8
Compression:
Stored size: 382 Bytes
Contents
module Rmega def self.logger @logger ||= begin logger = Logger.new($stdout) logger.level = Logger::ERROR logger end end module Loggable def self.included(base) base.__send__(:extend, ClassMethods) end def logger Rmega.logger end module ClassMethods def logger Rmega.logger end end end end
Version data entries
8 entries across 8 versions & 1 rubygems