Module: Observed::Reporter::RegexpMatching

Included in:
BuiltinPlugins::File, BuiltinPlugins::Stdout
Defined in:
lib/observed/reporter/regexp_matching.rb

Instance Method Summary collapse

Instance Method Details

#match(tag) ⇒ Object



5
6
7
8
# File 'lib/observed/reporter/regexp_matching.rb', line 5

def match(tag)
  tag_pattern = get_attribute_value(:tag_pattern)
  tag_pattern.match(tag) if tag_pattern
end