Sha256: fa4456640298516e094d4448dd9064793c926ce2ecdc8fdf0e406f10ebbf7701

Contents?: true

Size: 275 Bytes

Versions: 2

Compression:

Stored size: 275 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

2 entries across 2 versions & 1 rubygems

Version Path
empezar-0.0.2 lib/empezar/log.rb
empezar-0.0.1 lib/empezar/log.rb