DEFINITIONS
This source file includes following functions.
1 #
2 # change-ws.rb -
3 # $Release Version: 0.9$
4 # $Revision: 1.1 $
5 # $Date: 2002/07/09 11:17:17 $
6 # by Keiju ISHITSUKA(Nihon Rational Software Co.,Ltd)
7 #
8 # --
9 #
10 #
11 #
12
13 require "irb/cmd/nop.rb"
14 require "irb/ext/change-ws.rb"
15
16 module IRB
17 module ExtendCommand
18
19 class CurrentWorkingWorkspace<Nop
20 def execute(*obj)
21 irb_context.main
22 end
23 end
24
25 class ChangeWorkspace<Nop
26 def execute(*obj)
27 irb_context.change_workspace(*obj)
28 irb_context.main
29 end
30 end
31 end
32 end
33