1# 2# nop.rb - 3# $Release Version: 0.9.6$ 4# $Revision: 38358 $ 5# by Keiju ISHITSUKA(keiju@ruby-lang.org) 6# 7# -- 8# 9# 10# 11# :stopdoc: 12module IRB 13 module ExtendCommand 14 class Nop 15 16 @RCS_ID='-$Id: nop.rb 38358 2012-12-13 05:22:30Z zzak $-' 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 38end 39# :startdoc: 40