Sha256: 86f56d02b3903fd7eecf43f4c7d72382ec0344c4eb2f7299bceb3ca0358975b6
Contents?: true
Size: 411 Bytes
Versions: 7
Compression:
Stored size: 411 Bytes
Contents
module Empezar class Log include Singleton @@logger = nil def self.instance @@logger end def self.start logger @@logger = logger end end end class Log class << self def method_missing *args if args.first == :warning args.shift Empezar::Log.instance.warn *args else Empezar::Log.instance.send *args end end end end
Version data entries
7 entries across 7 versions & 1 rubygems