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