Class | TracePoint |
In: |
lib/facet/tracepoint.rb
|
Parent: | Object |
You can’t subclass Binding, so we delegate (which is better anyway).
VERSION | = | '0.2.0' | ||
EVENT_MAP | = | { :all => ['call', 'c-call', 'return', 'c-return', 'line', 'class', 'end', 'raise'], :before => ['call', 'c-call'], :after => ['return', 'c-return'], :call => ['call'], :return => ['return'], :ccall => ['c-call'], :creturn => ['c-return'], :line => ['line'], :class => ['class'], :end => ['end'], :raise => ['raise'] | methods for working with events |
back_binding | [RW] | — instance ——————- |
binding | [RW] | — instance ——————- |
event | [RW] | — instance ——————- |
Until Ruby has a built-in way to get the name of the calling method that information must be passed into the TracePoint.