Module: SignalFx::Tracing::Instrumenter::PatchingTest
- Defined in:
- lib/signalfx/tracing/instrumentation/patching-test.rb
Class Method Summary collapse
Class Method Details
.instrument ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/signalfx/tracing/instrumentation/patching-test.rb', line 10 def instrument ::PatchingTest::ToPatch.class_eval do alias_method :test_old, :test def test puts "patched test" end end end |