Line | |
---|
1 | #
|
---|
2 | # nop.rb -
|
---|
3 | # $Release Version: 0.9.5$
|
---|
4 | # $Revision: 11708 $
|
---|
5 | # $Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
|
---|
6 | # by Keiju ISHITSUKA([email protected])
|
---|
7 | #
|
---|
8 | # --
|
---|
9 | #
|
---|
10 | #
|
---|
11 | #
|
---|
12 | module IRB
|
---|
13 | module ExtendCommand
|
---|
14 | class Nop
|
---|
15 |
|
---|
16 | @RCS_ID='-$Id: nop.rb 11708 2007-02-12 23:01:19Z shyouhei $-'
|
---|
17 |
|
---|
18 | def self.execute(conf, *opts)
|
---|
19 | command = new(conf)
|
---|
20 | command.execute(*opts)
|
---|
21 | end
|
---|
22 |
|
---|
23 | def initialize(conf)
|
---|
24 | @irb_context = conf
|
---|
25 | end
|
---|
26 |
|
---|
27 | attr_reader :irb_context
|
---|
28 |
|
---|
29 | def irb
|
---|
30 | @irb_context.irb
|
---|
31 | end
|
---|
32 |
|
---|
33 | def execute(*opts)
|
---|
34 | #nop
|
---|
35 | end
|
---|
36 | end
|
---|
37 | end
|
---|
38 | end
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.