Sha256: 83c92208656b377cf38a7774ca791c57230dd3bffa51ff157af8ec27f3b9bb5c

Contents?: true

Size: 309 Bytes

Versions: 1

Compression:

Stored size: 309 Bytes

Contents

# typed: ignore

module Datadog
  module AppSec
    module Reactive
      # Address for Reactive Engine
      class AddressHash < Hash
        def addresses
          keys.flatten
        end

        def with(address)
          keys.select { |k| k.include?(address) }
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/appsec/reactive/address_hash.rb