Class: IRB::ExtendCommand::DexcUp
- Inherits:
-
Nop
- Object
- Nop
- IRB::ExtendCommand::DexcUp
- Defined in:
- lib/dexc/irb/cmd/stack_explorer.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
20 21 22 23 24 25 |
# File 'lib/dexc/irb/cmd/stack_explorer.rb', line 20 def execute(*) irb_context.change_workspace(irb_context.dexc_up_frame) STDOUT.print(irb_context.workspace.code_around_binding) irb_context.dexc_print_frame irb_context.main end |