class ProductionBreakpoints::Breakpoints::Inspect
Inspect
result of the last evaluated expression
Constants
- TRACEPOINT_TYPES
Public Instance Methods
handle(caller_binding, &block)
click to toggle source
Calls superclass method
ProductionBreakpoints::Breakpoints::Base#handle
# File lib/ruby-production-breakpoints/breakpoints/inspect.rb, line 9 def handle(caller_binding, &block) return super(caller_binding, &block) unless @tracepoint.enabled? val = super(caller_binding, &block) @tracepoint.fire(val.inspect) resume(caller_binding, &block) || val end