Sha256: 9c33787a77b6730d4e9661765723bf9fbb19be27f5e24776e4036703951f4010

Contents?: true

Size: 255 Bytes

Versions: 2

Compression:

Stored size: 255 Bytes

Contents

module Blazing
  module Base

    def log(type, message)
      @logger ||= Blazing::Logger.new
      @logger.log(type, message)
    end

    def config
      @config ||= Blazing::Config.load
    end

    def report
      @logger.report
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blazing-0.0.9 lib/blazing/base.rb
blazing-0.0.8 lib/blazing/base.rb