Current File : //opt/alt/ruby18/lib64/ruby/1.8/irb/cmd/nop.rb |
#
# nop.rb -
# $Release Version: 0.9.5$
# $Revision: 11708 $
# $Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
#
# --
#
#
#
module IRB
module ExtendCommand
class Nop
@RCS_ID='-$Id: nop.rb 11708 2007-02-12 23:01:19Z shyouhei $-'
def self.execute(conf, *opts)
command = new(conf)
command.execute(*opts)
end
def initialize(conf)
@irb_context = conf
end
attr_reader :irb_context
def irb
@irb_context.irb
end
def execute(*opts)
#nop
end
end
end
end