Sha256: 9e208ca0c91f2738fd682321c8d89d8818a405ec6f7597509524ad5611129480

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

require 'observed/configurable'
require 'observed/pluggable'

module Observed
  class Reporter
    include Configurable
    include Pluggable

    # !@attribute [r] tag_pattern
    #   @return [Regexp]
    attribute :tag_pattern

    # @param [String] tag
    def match(tag)
      raise NotImplementedError.new
    end

    def report(tag, time, data)
      raise NotImplementedError.new
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
observed-0.2.0 lib/observed/reporter.rb
observed-0.2.0.rc2 lib/observed/reporter.rb
observed-0.2.0.rc1 lib/observed/reporter.rb