We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add isolated usage support
sniffer = Sniffer.new do # some code here end
sniffer.data
The text was updated successfully, but these errors were encountered:
Hi Andrey, do you mean something like this?
class Sniffer def initialize @data = Data.new(singleton_config) Sniffer.enable! yield if block_given? ensure Sniffer.disable! end ... end
With the singtone config instance but with separated instances for Sniffer.data
Sorry, something went wrong.
yes, you are right, I see it like that:
Sniffer.capture(config) do # some code end
And I thought about creating instances for Sniffer for with different configuration too.
No branches or pull requests
Add isolated usage support
sniffer.data
The text was updated successfully, but these errors were encountered: