diff options
Diffstat (limited to 'lib/irb/command/next.rb')
-rw-r--r-- | lib/irb/command/next.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/irb/command/next.rb b/lib/irb/command/next.rb new file mode 100644 index 0000000000..3fc6b68d21 --- /dev/null +++ b/lib/irb/command/next.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +require_relative "debug" + +module IRB + # :stopdoc: + + module Command + class Next < DebugCommand + def execute(arg) + execute_debug_command(do_cmds: "next #{arg}") + end + end + end + + # :startdoc: +end |