suspend_context(context)
public
Evaluates the given block using the given context as the Context.
# File lib/irb.rb, line 609
def suspend_context(context)
@context, back_context = context, @context
begin
yield back_context
ensure
@context = back_context
end
end