ruby/lib/irb/command/context.rb
Hiroshi SHIBATA 077558ee2b
[Bug #20511] Update reline-0.5.7 (#10848)
* Update reline-0.5.7

* Update irb-1.13.1
2024-05-28 15:54:39 -07:00

16 lines
405 B
Ruby

# frozen_string_literal: true
module IRB
module Command
class Context < Base
category "IRB"
description "Displays current configuration."
def execute(_arg)
# This command just displays the configuration.
# Modifying the configuration is achieved by sending a message to IRB.conf.
Pager.page_content(IRB.CurrentContext.inspect)
end
end
end
end