Class: IRB::ExtendCommand::DexcDown

Inherits:
Nop
  • Object
show all
Defined in:
lib/dexc/irb/cmd/stack_explorer.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



29
30
31
32
33
34
# File 'lib/dexc/irb/cmd/stack_explorer.rb', line 29

def execute(*)
  irb_context.change_workspace(irb_context.dexc_down_frame)
  STDOUT.print(irb_context.workspace.code_around_binding)
  irb_context.dexc_print_frame
  irb_context.main
end