Sha256: 852056f63d0d6201b3c07efdcf78cd6433c9a6827941b7d309ceb486702c27dd

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

require 'observed/reporter'
require 'observed/reporter/regexp_matching'

module Observed
  module Default
    class Reporter < Observed::Reporter
      include Observed::Reporter::RegexpMatching

      attribute :writer

      def report(tag, time, data)
        writer.write tag, time, data
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
observed-0.1.1 lib/observed/default/reporter.rb