Sha256: 49315d56989be4759adb8f3f0ac3ad5954de7a17c20a4742f21324b2fc17434d

Contents?: true

Size: 375 Bytes

Versions: 1

Compression:

Stored size: 375 Bytes

Contents

class BBQueue::TestLogger
  def initialize
    @messages = []
  end

  def debug(object)
    @messages.push object
  end

  def info(object)
    @messages.push object
  end

  def warn(object)
    @messages.push object
  end

  def error(object)
    @messages.push object
  end

  def fatal(object)
    @messages.push object
  end

  def count
    @messages.size
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bbqueue-0.0.1 test/bbqueue/test_logger.rb