mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
21 lines
322 B
Ruby
21 lines
322 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "debug"
|
|
|
|
module IRB
|
|
# :stopdoc:
|
|
|
|
module ExtendCommand
|
|
class Info < DebugCommand
|
|
def self.transform_args(args)
|
|
args&.dump
|
|
end
|
|
|
|
def execute(*args)
|
|
super(pre_cmds: ["info", *args].join(" "))
|
|
end
|
|
end
|
|
end
|
|
|
|
# :startdoc:
|
|
end
|