method

push_workspace

v2_2_9 - Show latest stable - Class: IRB::Context
push_workspace(*_main)
public

Creates a new workspace with the given object or binding, and appends it onto the current #workspaces stack.

See IRB::Context#change_workspace and IRB::WorkSpace.new for more information.