Class: IRB::Command::Context
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
category, description, execute, help_message, #initialize
Constructor Details
This class inherits a constructor from IRB::Command::Base
Instance Method Details
#execute(_arg) ⇒ Object
9 10 11 12 13 |
# File 'lib/irb/command/context.rb', line 9 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 |