change_workspace(*_main)
Instance Public methods
Changes the current workspace to given object or binding.
If the optional argument is omitted, the workspace will be home_workspace which is
inherited from TOPLEVEL_BINDING or the main object,
IRB.conf[:MAIN_CONTEXT] when irb was initialized.
See IRB::WorkSpace.new for more
information.