Sha256: 39a19634d3a103b7f820efa0e0fe876a56f26421d87f900ba62eeec9ef5fb61d

Contents?: true

Size: 296 Bytes

Versions: 1

Compression:

Stored size: 296 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
      Empezar::Log.instance.send *args
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
empezar-0.1.1 lib/empezar/log.rb