class IRB::Irb

def suspend_context(context)

Evaluates the given block using the given +context+ as the Context.
def suspend_context(context)
  @context, back_context = context, @context
  begin
    yield back_context
  ensure
    @context = back_context
  end
end