CurrentContext

CurrentContext()
Class Public methods

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

irb
irb(main):001:0> IRB.CurrentContext.irb_name = "foo"
foo(main):002:0> IRB.conf[:MAIN_CONTEXT].irb_name #=> "foo"
doc_ruby_on_rails
2015-04-14 13:44:18
Comments
Leave a Comment

Please login to continue.