Method: Datadog::Core::Remote::Dispatcher::Matcher::Product#initialize
- Defined in:
- lib/datadog/core/remote/dispatcher.rb
#initialize(products) ⇒ Product
Returns a new instance of Product.
50 51 52 53 |
# File 'lib/datadog/core/remote/dispatcher.rb', line 50 def initialize(products) block = ->(path) { products.include?(path.product) } super(&block) end |