Class: IRB::ExtendCommand::TraceCall

Inherits:
TraceCommand show all
Defined in:
lib/ruby_tracer/irb.rb

Instance Method Summary collapse

Methods inherited from TraceCommand

transform_args

Instance Method Details

#execute(expression) ⇒ Object



72
73
74
75
# File 'lib/ruby_tracer/irb.rb', line 72

def execute(expression)
  b = irb_context.workspace.binding
  Tracer.trace_call { eval(expression, b) }
end