method

CurrentContext

v2_6_3 - Show latest stable - Class: IRB
CurrentContext()
public

The current IRB::Context of the session, see IRB.conf

irb
irb(main):001:0> IRB.CurrentContext.irb_name = "foo"
foo(main):002:0> IRB.conf[:MAIN_CONTEXT].irb_name #=> "foo"