3 # $Release Version: 0.9.5$
5 # $Date: 2007-02-12 15:01:19 -0800 (Mon, 12 Feb 2007) $
6 # by Keiju ISHITSUKA(keiju@ruby-lang.org)
21 if defined? @workspaces
28 def push_workspace(*_main)
31 print "No other workspace\n"
35 workspaces.push @workspace
40 workspaces.push @workspace
41 @workspace = WorkSpace.new(@workspace.binding, _main[0])
42 if !(class<<main;ancestors;end).include?(ExtendCommandBundle)
43 main.extend ExtendCommandBundle
49 print "workspace stack empty\n"
52 @workspace = workspaces.pop