Skip to content

Instantly share code, notes, and snippets.

@havenwood
Created January 7, 2020 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save havenwood/deff0943e1f1bf594f55d1148e66f791 to your computer and use it in GitHub Desktop.
Save havenwood/deff0943e1f1bf594f55d1148e66f791 to your computer and use it in GitHub Desktop.
method_tracing = TracePoint.new :call do |trace|
p [trace.defined_class, trace.method_id]
end
method_tracing.enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment