Sha256: 877874256fe83cf1c45461d61ee917acd35bf0c3b687e81ca71dfa504ca5fe7e

Contents?: true

Size: 257 Bytes

Versions: 5

Compression:

Stored size: 257 Bytes

Contents

module FinApps
  module Utils
    # Adds logging capabilities when included into other classes
    module Loggeable
      def logger
        @logger ||= begin
          require 'logger'
          ::Logger.new(STDOUT)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
finapps-2.0.6 lib/finapps/utils/loggeable.rb
finapps-2.0.5 lib/finapps/utils/loggeable.rb
finapps-2.0.4 lib/finapps/utils/loggeable.rb
finapps-2.0.3 lib/finapps/utils/loggeable.rb
finapps-2.0.2 lib/finapps/utils/loggeable.rb