2002-07-09 07:17:17 -04:00
|
|
|
#
|
2009-03-05 22:56:38 -05:00
|
|
|
# nop.rb -
|
2005-04-13 11:27:09 -04:00
|
|
|
# $Release Version: 0.9.5$
|
2002-07-09 07:17:17 -04:00
|
|
|
# $Revision$
|
2005-04-13 11:27:09 -04:00
|
|
|
# by Keiju ISHITSUKA(keiju@ruby-lang.org)
|
2002-07-09 07:17:17 -04:00
|
|
|
#
|
|
|
|
# --
|
|
|
|
#
|
2009-03-05 22:56:38 -05:00
|
|
|
#
|
2002-07-09 07:17:17 -04:00
|
|
|
#
|
|
|
|
module IRB
|
|
|
|
module ExtendCommand
|
|
|
|
class Nop
|
2009-03-05 22:56:38 -05:00
|
|
|
|
2002-07-09 07:17:17 -04:00
|
|
|
@RCS_ID='-$Id$-'
|
|
|
|
|
|
|
|
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
|
|
|
|
|