method
suspend_context
v1_9_1_378 -
Show latest stable
- Class:
IRB::Irb
suspend_context(context)public
No documentation available.
# File lib/irb.rb, line 235
def suspend_context(context)
@context, back_context = context, @context
begin
yield back_context
ensure
@context = back_context
end
end