diff options
Diffstat (limited to 'lib/irb/cmd/finish.rb')
-rw-r--r-- | lib/irb/cmd/finish.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/irb/cmd/finish.rb b/lib/irb/cmd/finish.rb new file mode 100644 index 0000000000..de4b4f12cf --- /dev/null +++ b/lib/irb/cmd/finish.rb @@ -0,0 +1,17 @@ +# frozen_string_literal: true + +require_relative "debug" + +module IRB + # :stopdoc: + + module ExtendCommand + class Finish < Debug + def execute(*args) + super(do_cmds: ["finish", *args].join(" ")) + end + end + end + + # :startdoc: +end |