blob: dbd59806f8bcac128b9c0bf4b612b604cfac1f01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
require_relative "debug"
module IRB
# :stopdoc:
module ExtendCommand
class Step < Debug
def execute(*args)
# Run `next` first to move out of binding.irb
super(pre_cmds: "next", do_cmds: ["step", *args].join(" "))
end
end
end
# :startdoc:
end
|