Sha256: 15a9fed77600c66ab346054f1d4ea0a1f340a3036f8d2589658207f17ea74006

Contents?: true

Size: 277 Bytes

Versions: 1

Compression:

Stored size: 277 Bytes

Contents

module Empezar
  class Log
    include Singleton

    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.0 lib/empezar/log.rb