Class: ElasticAPM::Config::RegexpList Private
- Inherits:
-
Object
- Object
- ElasticAPM::Config::RegexpList
- Defined in:
- lib/elastic_apm/config/regexp_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.
Instance Method Summary collapse
- #call(value) ⇒ Object private
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.
24 25 26 27 |
# File 'lib/elastic_apm/config/regexp_list.rb', line 24 def call(value) value = value.is_a?(String) ? value.split(',') : Array(value) value.map { |p| Regexp.new(p) } end |