Sha256: 540268beefcf375a989b9d3cdd3eb9b2410428a8da1ebc06c1721f3e786a4e59

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

module Lrama
  class Logger
    def initialize(out = STDERR)
      @out = out
    end

    def warn(message)
      @out << message << "\n"
    end

    def error(message)
      @out << message << "\n"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lrama-0.6.11 lib/lrama/logger.rb
lrama-0.6.10 lib/lrama/logger.rb