Imported File#ftype spec from rubyspecs.
[rbx.git] / lib / irb / cmd / nop.rb
blobd709e2953330097042481e4e604c878734e18e08
2 #   nop.rb - 
3 #       $Release Version: 0.9.5$
4 #       $Revision: 11708 $
5 #       $Date: 2007-02-12 15:01:19 -0800 (Mon, 12 Feb 2007) $
6 #       by Keiju ISHITSUKA(keiju@ruby-lang.org)
8 # --
10 #   
12 module IRB
13   module ExtendCommand
14     class Nop
15       
16       @RCS_ID='-$Id: nop.rb 11708 2007-02-12 23:01:19Z shyouhei $-'
18       def self.execute(conf, *opts)
19         command = new(conf)
20         command.execute(*opts)
21       end
23       def initialize(conf)
24         @irb_context = conf
25       end
27       attr_reader :irb_context
29       def irb
30         @irb_context.irb
31       end
33       def execute(*opts)
34         #nop
35       end
36     end
37   end
38 end