Class: Observed::Translator
- Inherits:
-
Object
- Object
- Observed::Translator
- Includes:
- Configurable, Logging, Pluggable
- Defined in:
- lib/observed/translator.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from Pluggable
Methods included from Logging
#log_debug, #log_error, #log_info, #log_warn, #logging_enabled?
Methods included from Configurable
#configure, #get_attribute_value, #has_attribute_value?, included, #initialize
Instance Method Details
#match(tag) ⇒ Object
14 15 16 |
# File 'lib/observed/translator.rb', line 14 def match(tag) tag_pattern.match(tag) end |
#translate(tag, time, data) ⇒ Object
18 19 20 |
# File 'lib/observed/translator.rb', line 18 def translate(tag, time, data) fail RuntimeError, 'Not implemented method: Observed#translate' end |