Sha256: 51cc1a2ce97d920e450f4b5ee4f89ac3fd0c06582783bbbe8fb35754e5e3425c
Contents?: true
Size: 431 Bytes
Versions: 3
Compression:
Stored size: 431 Bytes
Contents
require 'observed/configurable' require 'observed/logging' require 'observed/pluggable' module Observed class Translator include Observed::Configurable include Observed::Logging include Observed::Pluggable attribute :tag_pattern def match(tag) tag_pattern.match(tag) end def translate(tag, time, data) fail RuntimeError, 'Not implemented method: Observed#translate' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
observed-0.2.0 | lib/observed/translator.rb |
observed-0.2.0.rc2 | lib/observed/translator.rb |
observed-0.2.0.rc1 | lib/observed/translator.rb |