Class: ElasticAPM::Config::WildcardPatternList Private

Inherits:
Object
  • Object
show all
Defined in:
lib/elastic_apm/config/wildcard_pattern_list.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: WildcardPattern

Instance Method Summary collapse

Instance Method Details

#call(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



60
61
62
63
# File 'lib/elastic_apm/config/wildcard_pattern_list.rb', line 60

def call(value)
  value = value.is_a?(String) ? value.split(',') : Array(value)
  value.map { |p| WildcardPattern.new(p) }
end