module Observed::Reporter::RegexpMatching

Public Instance Methods

match(tag) click to toggle source
# 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