123456789_123456789_123456789_123456789_123456789_

Class: IRB::Command::Context

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base
Instance Chain:
self, Base
Inherits: IRB::Command::Base
Defined in: lib/irb/command/context.rb

Class Method Summary

Instance Attribute Summary

Base - Inherited

Instance Method Summary

Constructor Details

This class inherits a constructor from IRB::Command::Base

Instance Method Details

#execute(_arg)

[ GitHub ]

  
# 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