Sha256: 3b739a63069239ec223b1466474e56ad7630d124e9a7b2ff98cbc2eb9c4e4a53

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

module CubaApi
  class Logger

    private

    def debug( msg = nil )
      puts ( msg || yield )
    end
 
    def info( msg = nil )
      puts ( msg || yield )
    end
 
    def warn( msg = nil )
      warn ( msg || yield )
    end

    def error( msg = nil )
      warn ( msg || yield )
    end

    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cuba-api-0.6.3 lib/cuba_api/logger.rb~
cuba-api-0.6.2 lib/cuba_api/logger.rb~