method

new

v2_1_10 - Show latest stable - Class: IRB::WorkSpace
new(*main)
public

Creates a new workspace.

set self to main if specified, otherwise inherit main from TOPLEVEL_BINDING.