lib/sniffer/adapters/eventmachine_adapter.rb in sniffer-0.3.1 vs lib/sniffer/adapters/eventmachine_adapter.rb in sniffer-0.3.2
- old
+ new
@@ -58,6 +58,6 @@
end
end
end
end
-EventMachine::HttpClient.send(:include, Sniffer::Adapters::EventMachineAdapter::Client) if defined?(::EventMachine)
+EventMachine::HttpClient.include Sniffer::Adapters::EventMachineAdapter::Client if defined?(::EventMachine::HttpClient)