Class: IRB::Command::Finish

Inherits:
DebugCommand show all
Defined in:
lib/irb/command/finish.rb

Instance Attribute Summary

Attributes inherited from Base

#irb_context

Instance Method Summary collapse

Methods inherited from DebugCommand

category, description

Methods inherited from Debug

#execute_debug_command

Methods inherited from Base

category, description, execute, help_message, #initialize

Constructor Details

This class inherits a constructor from IRB::Command::Base

Instance Method Details

#execute(arg) ⇒ Object



10
11
12
# File 'lib/irb/command/finish.rb', line 10

def execute(arg)
  execute_debug_command(do_cmds: "finish #{arg}")
end